I have a set of documents (which reside in a canvas column) wherein the row has a status of either Approved or one of a handful of states other than Approved. The general population are only able to see a read-only view of the Approved documents and I’ve given elevated rights to people who need to be able to view all of the unapproved documents.
I am trying to replicate the functionality of
Activate(thisRow) wherein it opens as
I thought I had solved it with the following, but that lends a view of the main table, not a view of the linked table.
I tested hardcoding the document number, which works as expected, but needs to be made dynamic to be useful.
I assume there is a super obvious solution I am over looking here…
March 1, 2023, 6:23pm
I’m not entirely sure but have you tried
You can also specify the view where the row needs to be opened
OpenRow(thisRow,[Specific view of my table],"fullscreen")
Just in case, here’s a very quick sample doc to illustrate (even though, maybe I misunderstood your question
The first button (the blue one) you’ll find in the table
thisRow in fullscreen, in the view
[View of Main] using this action formula
OpenRow(thisRow,[View of Main],"fullscreen")
The second button (the purple one) opens
thisRow in a modal, in the view
[View of Main 2] using this action formula :
OpenRow(thisRow,[View 2 of Main],"modal")
And the third one, somewhat gets you back to the main table
A small note but it seems like
Url() is not really used anymore, I think
… But there’s ObjectLink()
Thanks, that’s exactly what I was looking for – but had no idea existed!
Yes thanks for bring that up – I’ve noticed a few functions I’ve used in the past now say deprecated, but wasn’t sure what more-recently adopted function should replace it.
March 1, 2023, 7:03pm
I’m very glad to know
OpenRow() was indeed the missing piece here
March 4, 2023, 7:04pm
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.