Hello team
I am trying to fetch the list of actions on a section. I am able to get the list but I am getting some undefined values and some actions are not being fetched as well.
I am attaching the screenshots with this post.
Like
Hi Rahul,
Basically, you need to debag this code in order to check which value do you have after each iteration and from where it's taken.
In the BaseDataView.js you can find the getSectionActions method.
There it seems to fill the actionMenuItems array, from which these actions are taken.
Best Regards,
Bogdan L.
Rahul,
Could it be that the ones with the undefined displayValue are just the menu dividers?
As Bogdan mentioned, if you debug and look at each item, maybe it's possible they have a className of "Terrasoft.MenuSeparator"
Ryan
Ryan Farley,
Hello Ryan,
Thanks for your reply.
The major issue is that some of the actions are not fetched while iterating over the specified section action items.
Let's say I'm seeking to get the action items from the Leads section, such as Merge records and Evaluate predictive score but the action items aren't coming.
Please find below screenshot for your reference.
Thanks and Regards
Rahul