Hello,
I am currently working with a record which is being used in 2 different websites on the same environment. These 2 websites have a different look and feel, and some record informations should only be displayed on one of the website, but not on the other one.
Is there a way to keep using the same record on these 2 websites, but have the summary interface dynamically change depending on the website it is accessed from ? For instance, if we access the record from website A, some cards are hidden, whereas if we access the same record from website B, the same cards are showing.
So far I haven't been able to find a way to "detect" the active website from my interface, and I am not sure this is possible.
Thanks
Discussion posts and replies are publicly visible
What "website" are you talking about? Is this about embedding Appian SAIL UI into externally hosted HTML content?
Hello Stefan,
No, the websites I am talking about are Appian sites. I have 2 differents sites in 2 differents applications, on the same cloud environment.
One of my record type is used in both these sites. I would like to know if there is a way to customize the record views depending on the site it is accessed from. For instance, if you access the record view from the first website, you would have access to some information, but if you access the same record from the second website, these informations would be hidden.
Did you consider URL parameters?
https://docs.appian.com/suite/help/25.4/sites_object.html#configure-rule-inputs
I've checked, but unfortunately it seems that url parameters are only available for site page or portal. Here my use case is a bit different, as I need to pass a parameter trough a record link.
With the recordLink or urlForRecord functions, there is a targetLocation parameter to specify on which site the link should be opened. Basically, what I would need is to get this information to my interface as an input.
But you mentioned that you are using sites ?!?!?