I have an interesting User Case where I need to link an Appian record with something outside of appian in a react application we are using. I don't understand the record generation since its not using any information from the database in that generation which it shouldnt because it could be a security issue, but I was wondering how I could get that link specifically and pass it to a button on my react app so when they click it, they will be taken to the specific record in appian for whichever record they clicked. Sorry if this doesnt make much sense.
Discussion posts and replies are publicly visible
I'm a little unclear whether or how you can pass data from Appian into your outside application, but it seems like if you were able to call "urlForRecord()" on the individual record entries, and store aspects of the generated text URL and somehow pass that out, and later use that to construct a link from your external application pointing back to Appian, that you might be able to link users straight into whatever record entries they inherently have access to in Appian already. It seems like a lot of work though to save... 1 or 2 clicks, i'd guess?
I think this is a great solution. I am assuming you mean to call this function store it in the database then pass the link to the outside application for use?
Something along those lines - call the funciton in appian in some manner, and eventually pass the text components of the link out. I'd note that this is almost definitely not "officially appian supported" functionality, one of the impacts of which being that with any version update or hotfix, the way the links work is liable to change (though not very likely).
I appreciate the answer thank you ill have to try it out! Its good to note the risk in it as well!