Announcement

Collapse
No announcement yet.

Questions about Uploading a File (EXUPLOAD1)

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

  • Questions about Uploading a File (EXUPLOAD1)

    We are using EXUPLOAD1 as an example in sn application for our customers to send us a file in a Valence App. The example shows how to capture the vvUsrId from VVSESSVAR. I saw the data structure also includes the vvibmiuser. When I used this field in my application I am not getting a value for that field in the data structure. Does the vvUtility_getSessVar not allow this field in the data structure to be used? My code is highlighted in bold. Thanks in advance for any help?

    [Code}

    // Now let's get the Valence user ID associated with the session...
    SessDS=vvUtility_getSessVar(VVSESSVAR);
    userID=sessDS.vvUsrID;

    ibmiuser=sessDS.vvibmiuser;
    [/Code]

  • #2
    EXUPLOAD receives the "sid" as its only parameter. Pass this sid as the second parameter on your call to vvUtility_getSessVar.

    Comment


    • #3
      Thanks Sean! That worked.

      Comment

      Working...
      X