Rank: Advanced Member
Groups: Registered
Joined: 12/31/2019(UTC) Posts: 35 Location: Missouri Thanks: 10 times
|
I have a Open URL/File page action with a URL to an IIS Web site virtual directory. What do I need on the iPhone to be able to open common files like .pdf, .xlsx, .docx using this method?
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/22/2019(UTC) Posts: 20 Location: Vienna Was thanked: 4 time(s) in 4 post(s)
|
Hi, You can open files in external apps with the action "Open URL/File" with the option "Open in external app". Remember that you'll have to have your file first stored locally on the device and you have to have an app installed that supports this file type. Here an example: 1) first a two step process to get the file to the client how i'd do it. 1a) from within the server into a page source tree ( load binary file to node ) 1b) then store this to the clients local file system ( save node to binary filae - client file path ) 2) finally open in external app. best regards MIP attached the following image(s):
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/31/2019(UTC) Posts: 35 Location: Missouri Thanks: 10 times
|
Thank you. This does work somewhat, but is there a way to specify opening the file in the browser? If I use the same URL in the Load Binary file below and paste it into Safari, it opens the PDF. How can I do this this from my App?
|
|
|
|
Rank: Member
Groups: Registered
Joined: 7/22/2019(UTC) Posts: 20 Location: Vienna Was thanked: 4 time(s) in 4 post(s)
|
Hi,
currently i can not think of a way how you'd open a sandboxed file in the browser (which is an external app to your app). Directly opening the url in browser with "open url" is no option i guess?
best regards
|
1 user thanked MIP for this useful post.
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.