Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update search layout task, event, activity #283

Open
santiago-rollio opened this issue Apr 27, 2022 · 1 comment
Open

Update search layout task, event, activity #283

santiago-rollio opened this issue Apr 27, 2022 · 1 comment

Comments

@santiago-rollio
Copy link

Hi!, first thx for sharing this awesome metadataservice class and examples.

I'm trying to add a new List View button to the search layout in Activities since I can't do it in Task or Event directly.
I'm getting errors when trying to save it, only when UpdateMetadata is called with the new listview buttons.

In the rest of the objects I have no problem, but with Task, Event and Activity every time I try to save, i get same error.

FYI: The process is:

  • create the button in Task or Event
  • check if activity list view buttons already have the button
  • add the button to the Activity Search Layout
  • update custom object (Activity) metadata

Error: "error occured processing component activity. in field: listviewbuttons - no weblink named Activity.Nameofbutton"

"Activity.Nameofbutton" is a button that is already there (it's a button from Task), an old one, added by some user manually to the Activity Search Layout, NOT the one I want to add.

@lazerlipa
Copy link

can you please share the code that you use for the rest of the objects? because I cant get it to work thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants