• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Sending document as email attachment on mobile (android)

New Here ,
Feb 28, 2019 Feb 28, 2019

Copy link to clipboard

Copied

Hello,

I've written a script to lock fields then compose an email with the document as an attachment. Works perfectly on PC but only the lock function works on Acrobat Reader for Android. Is there any way to get this code to work on mobile or is it simply not supported? Are there any workarounds? Please help before I finish pulling out my hair!

for (var i = 0; i < this.numFields; i++) {

   var fname = this.getNthFieldName(i);

   this.getField(fname).readonly = true; // makes all fields readonly

}

this.mailDoc({

  bUI: false,

  cTo: this.getField("customer email").value ,

  cCc: "xxx@xxx.com",

  cSubject: "REPORT: " + this.getField("customer name").value + "_" + this.getField("job date").value + "_" + this.getField("ID").value,

  cMsg: "Greetings,\n\n" + "Please find attached \n\n" + "Regards,",

});

TOPICS
Android

Views

496

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 05, 2019 Mar 05, 2019

Copy link to clipboard

Copied

LATEST

Hi Brevwitty,

Sorry for the delay in response.

The Adobe Acrobat Reader for mobile has some limitations. There is limited support for the javascript on the mobile application.

Please refer to the following link for more details. JavaScript APIs and Forms — Enterprise Guide for Acrobat on Mobile Devices

Hope that helps.

Let us know if you have any questions.

Regards,

Meenakshi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines