When a file is downloaded using vvOut_file on the mobile app, it displays correctly. However, when the file is shared via email or other applications, it appears as a plain text base64 string. The file downloads correctly when accessed through a browser. Is there a step I'm missing so the file is handled properly on the mobile app?
Announcement
Collapse
No announcement yet.
vvOut_file on Mobile App
Collapse
X
-
Correct, it's not within the NAB. Here is what the code looks like.
Program calls when the icon column on a grid row is selected.
dcl-s filePath varchar(256);
dcl-s fileTitle varchar(150);
filePath = GetSelectionChar(1:'FILEPATH');
fileTitle = GetSelectionChar(1:'FILETITLE');
vvOut.download = '1';
vvOut.file = fileTitle;
vvOut_file(filePath:vvOut);
When called on a browser, document downloads properly. When called via the Valence Portal app on iOS, document is viewable though when sharing, it embeds as a plain text base64 string.
Version: 6.2.20240126.1Last edited by AndrewLDS; 06-17-2024, 02:29 PM.
Comment

Comment