You need to sign in to do that
Don't have an account?
goravseth
How to set a relative / internal URL in visual workflow screen
On finish screens, I often include a link to a record in addition to setting finish behavior. So far I have hard-coded the full URL which requires me to update each screen upon deployment to production / sandbox refresh.
So I am looking for how to set a relative URL in a flow.
Just using /{!vaRecordId} did not resolve properly.
I know on visualforce pages you can do the API partner user thing to resolve sandbox vs prod.
({!LEFT($Api.Partner_Server_URL_140, FIND(".com/",$Api.Partner_Server_URL_140)+3)
Is there anything similar that will work in a flow? I suppose I could set a variable in the flow to the instance, and then I would just need to update that variable when I deploy, but trying to just have a nice clean flow deployment process (dream a little dream...)
So I am looking for how to set a relative URL in a flow.
Just using /{!vaRecordId} did not resolve properly.
I know on visualforce pages you can do the API partner user thing to resolve sandbox vs prod.
({!LEFT($Api.Partner_Server_URL_140, FIND(".com/",$Api.Partner_Server_URL_140)+3)
Is there anything similar that will work in a flow? I suppose I could set a variable in the flow to the instance, and then I would just need to update that variable when I deploy, but trying to just have a nice clean flow deployment process (dream a little dream...)
There are a relationship between the objects? Can't you create a formula text field using your formula ({!LEFT($Api.Partner_Server_URL_140, FIND(".com/",$Api.Partner_Server_URL_140)+3)?
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.
You said that defining the relative URL manually as relative didn't resolve correctly. How did it resolve exactly? Did it not show as a clickable link? Did it add extra characters? Throw an error? How did you attempt to make it a clickable link?
So Http://{!vaRecordId} or Http:///{!vaRecordId} dont work - just takes you to http://a3ff00000004u9taae
But removing the Http and just putting /{!vaRecordId} works perfectly!
Thanks!
https://revesinterpretation.fr/