Skip to Content
May 20, 2016 at 06:58 AM

Dynamic URL based on tenant



I have a requirement to add a WCView in Accounts WCF which will have a link pointing to a different system. The link differs for each tenant i.e., dev, test, Prod. But I couldn't find any solution to dynamically populate the link based on tenant URL.

I have added the link in an Embedded Component and the EC is then added to WCView. I tried to call an action on "OnClick" of EC where I check the tenant URL and try to show the corresponding link. But calling an action is not allowed in EC because of the type of authorization an EC has.

I tried to use Field Transformation as well to get the tenant URL in EC itself but that seems to be not working.

Please help with some suggestions.

Thanks & Regards,

Meghna Sharma