• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

vvOut_file on Mobile App

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vvOut_file on Mobile App

    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?

  • #2
    I am not sure, but I assume you wrote your own code to do this because we don't support downloads on grids via NAB when on a mobile device, only on desktop. We could possibly take a look, but we would need more information to replicate what you're doing/downloading, etc

    Comment


    • #3
      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.1
      Last edited by AndrewLDS; 06-17-2024, 02:29 PM.

      Comment

      Working...
      X