Highlighted

PDF is not able to handle Images if it's more than 600Kb

Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

Hello All,

 

I have a question , When I used the below method it's not able to call the web service, if pdf has 10 images on the pdf and size is 10kb each. Is there size limit when we used the below query.

var fields = [];
var Arrays =[];
for (var i = 0; i <= this.numFields - 1; i++)
{
fields.push(this.getNthFieldName(i));
Arrays = fields.sort( function(a,b)
{return a - b; } );
}

var aSubmitFields = fields ;

this.submitForm({
cURL: "http://localhost/Ssvc/df",
aFields: aSubmitFields,
cSubmitAs: "FDF"
});

Is there any alternative way for doing this?

 

Thanks 

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Create PDFs, Edit and convert PDFs, Install update and subscribe to Acrobat, PDF forms, Standards and accessibility

Views

69

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

PDF is not able to handle Images if it's more than 600Kb

Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

Hello All,

 

I have a question , When I used the below method it's not able to call the web service, if pdf has 10 images on the pdf and size is 10kb each. Is there size limit when we used the below query.

var fields = [];
var Arrays =[];
for (var i = 0; i <= this.numFields - 1; i++)
{
fields.push(this.getNthFieldName(i));
Arrays = fields.sort( function(a,b)
{return a - b; } );
}

var aSubmitFields = fields ;

this.submitForm({
cURL: "http://localhost/Ssvc/df",
aFields: aSubmitFields,
cSubmitAs: "FDF"
});

Is there any alternative way for doing this?

 

Thanks 

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Create PDFs, Edit and convert PDFs, Install update and subscribe to Acrobat, PDF forms, Standards and accessibility

Views

70

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
Sep 02, 2020 0
Adobe Community Professional ,
Sep 02, 2020

Copy link to clipboard

Copied

What happens when you use it? Any error in the Javascript console?

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
Reply
Loading...
Sep 02, 2020 0
Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

I can not see any errro in the console, It's just say Genral Error, Nothing done. If I'm removing Images on the pdf two images it started 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
Reply
Loading...
Sep 02, 2020 0
Most Valuable Participant ,
Sep 02, 2020

Copy link to clipboard

Copied

Does it work if you submit it via email, for example?

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
Reply
Loading...
Sep 02, 2020 0
Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

if I submit as email, it won't inculde Images. It's working if I submit as email.

 

 

 

Thanks

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
Reply
Loading...
Sep 02, 2020 0
Adobe Community Professional ,
Sep 02, 2020

Copy link to clipboard

Copied

Does it working or not?

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
Reply
Loading...
Sep 02, 2020 0
Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

It's working but If it's not including images then It's no good for me. I need images which works with this

var fields = [];
var Arrays =[];
for (var i = 0; i <= this.numFields - 1; i++)
{
fields.push(this.getNthFieldName(i));
Arrays = fields.sort( function(a,b)
{return a - b; } );
}

var aSubmitFields = fields ;

this.submitForm({
cURL: "http://localhost/Ssvc/df",
aFields: aSubmitFields,
cSubmitAs: "FDF"
});

 

if there are more than 5 images It's does not work

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
Reply
Loading...
Sep 02, 2020 0
Adobe Community Professional ,
Sep 02, 2020

Copy link to clipboard

Copied

it does not work when you use a email for the parameter cURL?

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
Reply
Loading...
Sep 02, 2020 0
Most Valuable Participant ,
Sep 02, 2020

Copy link to clipboard

Copied

The submitted data is the same, regardless of how you send it.

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
Reply
Loading...
Sep 02, 2020 0
Community Beginner ,
Sep 02, 2020

Copy link to clipboard

Copied

Could you please tell me how I should need to submit it. 

 

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
Reply
Loading...
Sep 02, 2020 0