Forum Discussion
I could have given more details.....
The EOTI app has a documents table and a link is sent via notification from the main app to that table. I updated the EOTI app to have view permissions for only the file attachment field.
Can the secure link exist in the main app but allow access to a table in the EOTI app?
Before I answer your question, maybe there is a much simpler way. If you go to the field properties for the target table that has the file attachment and check the checkbox to allow users to view the file attachment without logging in, then you can use this simple formula
URLRoot() & "up/" & "xxxxxx(table ID on the target table)"& "/a/r" & "record id on the target table" & "/e99/v0"
replace the 99 with the field ID of the file attachment field.
If we want the link to look a little more obscure without the record ID being exposed to the user in the URL, like if you are afraid that they will guess their way into other records on the table, then you can use this alternate format.
URLRoot() & "up/" & "xxxxxx(table ID on the target table)" &r=" & QB32Encode([Record ID#]) & "/e99/v0" ;
If you really do need secure links for that added level of security, then let me know, and we can carry on that discussion, but this may be good enough for your needs, depending on the level confidentiality of the document, and whether or not, you are worried about users, guessing their way into other records on your table