function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pubali BanerjeePubali Banerjee 

Object specific action using visualforce pages challenge

In the object specific challenge, i wrote the below code:

User-added image
And also checked the available for mobile app checkbox:

User-added image
And yet, in contact, while creating a new action, i cannot see the showassistant info visualforce page in the list. Please suggest what am i missing.
User-added image
Best Answer chosen by Pubali Banerjee
Bhargavi TunuguntlaBhargavi Tunuguntla
Hi Pubali,

You have used RecordSetVar which reperents a list of data not a single record, So when that is in use the vf page cannot be referenced in the Action.Please refer the below link for more details about StandardSetController:
https://salesforce.stackexchange.com/questions/97423/what-is-recordsetvar-and-where-is-it-used

Try removing the recordSetVar attribute and it can be reference in the Actions of Contact object.

Thanks
Hope this will be helpful.
 

All Answers

Bhargavi TunuguntlaBhargavi Tunuguntla
Hi Pubali,

You have used RecordSetVar which reperents a list of data not a single record, So when that is in use the vf page cannot be referenced in the Action.Please refer the below link for more details about StandardSetController:
https://salesforce.stackexchange.com/questions/97423/what-is-recordsetvar-and-where-is-it-used

Try removing the recordSetVar attribute and it can be reference in the Actions of Contact object.

Thanks
Hope this will be helpful.
 
This was selected as the best answer
Pubali BanerjeePubali Banerjee
Thanks Bhargavi, it worked!