Comments on: Why URLFOR() is an Admin’s Best Friend in Communities https://blogs.perficient.com/2015/01/19/why-urlfor-is-an-admins-best-friend-in-communities/ Expert Digital Insights Thu, 12 Apr 2018 18:22:47 +0000 hourly 1 By: Kara Allen https://blogs.perficient.com/2015/01/19/why-urlfor-is-an-admins-best-friend-in-communities/#comment-1348 Wed, 30 Dec 2015 16:45:58 +0000 http://blogs.perficient.com/salesforce/?p=7913#comment-1348 In reply to Bakul.

Hi Bakul, I have never seen that behavior. Based upon your post, it seems like you have found a solution to this!

]]>
By: Bakul https://blogs.perficient.com/2015/01/19/why-urlfor-is-an-admins-best-friend-in-communities/#comment-1347 Wed, 30 Dec 2015 12:11:17 +0000 http://blogs.perficient.com/salesforce/?p=7913#comment-1347 I found different way to use URLFOR which solved my problem:

{!URLFOR( $Site.BaseRequestUrl & “/apex/page_name?id=” & Opportunity.Id,Opportunity.Id, null, false)}

Replace page_name with actual name of the page you want to show

]]>
By: Bakul https://blogs.perficient.com/2015/01/19/why-urlfor-is-an-admins-best-friend-in-communities/#comment-1346 Wed, 30 Dec 2015 11:49:04 +0000 http://blogs.perficient.com/salesforce/?p=7913#comment-1346 In reply to Kara Allen.

Hi Kara,
Your article is really helpful and gives information which is hard to find.

I tried what you suggested and it almost worked, except that it continously reloads VF page again and again infinitely. I am not sure how can I stop this behavior. Do you have any idea?

Thanks,
Bakul

]]>
By: Kara Allen https://blogs.perficient.com/2015/01/19/why-urlfor-is-an-admins-best-friend-in-communities/#comment-1345 Mon, 16 Feb 2015 22:37:37 +0000 http://blogs.perficient.com/salesforce/?p=7913#comment-1345 In reply to Denis Horgan.

Denis, what’s the use case behind users sending a link? Without knowing what it is, I’ll throw out a few thoughts. You could change the way the communication is done to solve the problem. For example, rather than sending an email with a URL, move the conversation from email to Chatter, which would allow the internal user to respond to the communication in their Chatter feed. Or, you could create a way for the community user to send an email from inside the page in the Community that would automatically populate both the link inside the Community as well as the internal URL in the body of the email.

]]>
By: Denis Horgan https://blogs.perficient.com/2015/01/19/why-urlfor-is-an-admins-best-friend-in-communities/#comment-1344 Sun, 15 Feb 2015 19:33:39 +0000 http://blogs.perficient.com/salesforce/?p=7913#comment-1344 Kara,

Do you have any suggestions on how to hand a community user copying and pasting a url and sending it to an internal user. When the internal user clicks on the link, it takes them to the community login page if they have not yet “Switched” into the community at least once during there session. If they have switched into the community at least once, it takes them directly to the record but in the community view.

Denis

]]>