You need to sign in to do that
Don't have an account?
Depton
Relative links - replacing https://c.na1.content.force.com
HI Guys,
You can avoid using the server name by using relative link : https://na1.salesforce.com/00Oz0000000xxxx
should not include https://na1.salesforce.com. Instead we should use:
/00Oz0000000xxxx
Any idea on how this works for content files??
So How do I replace this to avoid the NA1 Server?
https://c.na1.content.force.com/servlet/servlet.FileDownload?file=00Oz0000000xxxx
Thank you
Hi,
Find the below link which might be useful to you to resolve your issue.
http://boards.developerforce.com/t5/AJAX-Toolkit-S-Controls/Getting-salesforce-ID-from-page-URL/td-p/64733
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_pages_pagereference.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_url.htm
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#CSHID=pages_quick_start_query_params_getting.htm|StartTopic=Content%2Fpages_quick_start_query_params_getting.htm|SkinName=webhelp
Use case I want to display some content that is being generated via Apex in both my Sandbox for testing (which has a different name space) and my Partner Community.
Thanks