You need to sign in to do that
Don't have an account?
Jonathan Wolff 7
Apex action to open Url from id
Hello,
I want to develop an apex action, that can open an URL when a certain ID is passed in. I created a formula. An ID should be passed into the action and then the URL should be opened. Could you show me a code that is able to achive this?
My formula example:
IF(CONTAINS({!URL_ID_Cmp.VTRURL}, '64191715'), 'https://www.company.com/linder',
IF(CONTAINS({!URL_ID_Cmp.VTRURL}, '64191717'), 'https://www.company.com/striepe',
NULL))
I want to develop an apex action, that can open an URL when a certain ID is passed in. I created a formula. An ID should be passed into the action and then the URL should be opened. Could you show me a code that is able to achive this?
My formula example:
IF(CONTAINS({!URL_ID_Cmp.VTRURL}, '64191715'), 'https://www.company.com/linder',
IF(CONTAINS({!URL_ID_Cmp.VTRURL}, '64191717'), 'https://www.company.com/striepe',
NULL))