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

Not Including comment while calling the Web Service from Java Script

Community Beginner ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

Hello All, 

I'm calling my web Service from the Submit button. I'm sending as a FDF include Comments. when I'm calling it as physically click on the button it's sending comments, but when I tried to call it with Java scipt it does not include coments/Stick notes.

 

I have tried the below method:

 var myURL = "http://localhost.../"
this.submitForm(myURL, null, "HTML");
this.submitForm("http://localhost",
true, false,"");
//var cd=('http://localhost');
//this.submitForm(cd,"Comment", "#FDF");

 

Can someone please help me.

TOPICS
Acrobat SDK and JavaScript

Views

107

Likes

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

correct answers 1 Correct answer

Community Expert , Jul 30, 2020 Jul 30, 2020

In your sample you use only 5 parameters. bAnnotions is the 6th parameter.

Likes

Translate

Translate
Community Expert ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

It will not include comments when you submit as HTML.

Likes

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
Community Beginner ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

I have tried with Submit with FDF as well.

 

Could you please tell me the workaround.

Likes

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
LEGEND ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

None of your examples set the required bAnnotations parameter. What are you using for reference documentation? You must use the Acrobat JavaScript API document, you cannot write Acrobat JavaScript using Google.

Likes

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
Community Beginner ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

I'm using API document for Reference, I was looking for Option as submit button wth Parmeter.I have tried the below one.

this.submitForm(myURL,true, true, null, true);

that did not work. I have checked Bible did not find anything with submit button

 

 

Likes

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
Community Expert ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

Likes

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
Community Beginner ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

Thanks for  that. 

I have tried the below one but that is not working.

//cURL, [bFDF], [bEmpty], [aFields], [bGet], [bAnnotations],
var myURL = "http:URl"
this.submitForm(URL,true,false,true,true);

I'm passing the bAnnotations but it's not working 

Likes

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
Community Expert ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

LATEST

In your sample you use only 5 parameters. bAnnotions is the 6th parameter.

Likes

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