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
JaanuJaanu 

Hard codes URLs - Custom Links - My Tasks Today ?

I have a hard coded custom link URL for 'My Tasks Today'. As part of the realease update, I had to delete the hard coded url .. and I have to mention the relative path to open the 'My Tasks Today'. After updating the URL, when I click on 'My Tasks Today' on home page .. I am getting error message 'Page Activities does not exist'. Can someone help me on this please ?
Best Answer chosen by Jaanu
VinayVinay (Salesforce Developers) 
Hi,

From Id 00B refers to ListView / View object.  You might need to check 'List View' for same.

Please click on Edit beside list view and see if the list view visibility is restricted to the Public group. If it's then it's the expected behavior. https://success.salesforce.com/ideaView?id=08730000000DrYbAAK

https://help.salesforce.com/articleView?id=000315652&type=1&mode=1

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar

All Answers

VinayVinay (Salesforce Developers) 
Hi,

Can you re-check the URL provided and if you are using any id's are correct.

Please find below links and best practises regarding custom links.

https://success.salesforce.com/answers?id=90630000000h2rgAAA
https://help.salesforce.com/articleView?id=custom_links_best_practices.htm&type=5
https://help.salesforce.com/articleView?id=custom_links_example_linking_to_files.htm&type=5
https://help.salesforce.com/articleView?id=custom_links_example_linking_to_documents.htm&type=5

Review above details and if you still see any issues post the custom link detail screeshot.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
JaanuJaanu
Thanks Vinay for quick reply. 
Original url # https://abc.salesforce.com//apex/Activities?fcf=00B500000327KOL Changed it to /apex/Activities?fcf=00B500000327KOL. I am getting error message as I mentioned before. Then I checked the Id '00B500000013XOM', then I am getting error message 'Insufficient Privileges'. Not sure... what is the issue here .. is it the ID or url itself ? How do I find out id of 'my tasks today' ? I few more links very much similar to this. Pls let me know. Appreciate your help. 

I am trying to get rid of hard coded URL's .. that's it.

 
VinayVinay (Salesforce Developers) 
Hi,

From Id 00B refers to ListView / View object.  You might need to check 'List View' for same.

Please click on Edit beside list view and see if the list view visibility is restricted to the Public group. If it's then it's the expected behavior. https://success.salesforce.com/ideaView?id=08730000000DrYbAAK

https://help.salesforce.com/articleView?id=000315652&type=1&mode=1

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
This was selected as the best answer
JaanuJaanu
Thanks so much Vinay. I got thelist view id based on your suggestion. it's 18 char. Id is different for each list views 'All My Open Tasks' , 'Delegated to me' , 'Delegated to Others' and 'My Tasks Today'. But when I give complete URL, it's working without an error. But it's going to same list view as I viewed before .. list view is not changing... atleast no errors.. which is good. When I give relative path, still I get error message as before..can I get your number please ? u can emal me @ justlike9090@gmail.com
JaanuJaanu
Thanks Vinay for helping out.