Skip to main content
Nintex Community Menu Bar
Solved

PDF Generate issue using pdf converter

  • March 20, 2020
  • 4 replies
  • 107 views
  • Translate

Forum|alt.badge.img+7

hi,

 

i am using pdf generator smo with url to generate pdf from another form using create pdf from url method but everytime it gives me pdf with login screen(not actual form data) in k2 cloud.

 

please help me on it, if anyone have idea.


16411i2E96996A14892271.png
11686iE9F970358BC69E7B.png
15526i743A8169C9FA94D7.png

Best answer by chruff1

Hello,


 


K2's documentation on the PDF Converter SmartObject states the following:


 


"When running the PDF Converter executed as the Service Account, the PDF document will contain all data that the Service Account can see for the specific execution request. For Example: If Forms Authentication is set to true, the execution request will return a login screen, which will reflect in the PDF"


 


https://help.k2.com/onlinehelp/K2Cloud/UserGuide/Update_11/default.htm#ServiceBrokers/PDFConverter/PDFConverter.htm


 


If you would like to avoid this scenario, you can try setting the forms to 'Anonymous Access.'  This should by pass the login screen, and it shouldn't be captured by the PDF SmartObject.


 


Hope this helps.

View original
Did this topic help you find an answer to your question?

Hello,


 


K2's documentation on the PDF Converter SmartObject states the following:


 


"When running the PDF Converter executed as the Service Account, the PDF document will contain all data that the Service Account can see for the specific execution request. For Example: If Forms Authentication is set to true, the execution request will return a login screen, which will reflect in the PDF"


 


https://help.k2.com/onlinehelp/K2Cloud/UserGuide/Update_11/default.htm#ServiceBrokers/PDFConverter/PDFConverter.htm


 


If you would like to avoid this scenario, you can try setting the forms to 'Anonymous Access.'  This should by pass the login screen, and it shouldn't be captured by the PDF SmartObject.


 


Hope this helps.

Translate

Hello Bhushan,

 

Yes this is expected when you load the form on the server. So what you can do to achieve it please change the form anonymous form and try to create PDF this will not ask for login details. 

 

Let me know if this works for you. 

 

 

 

Translate

Hey,

Yeah, it's a common issue.  You can try another pdf converter and editor. I use https://www.picverse.com/ to edit my photos and then convert them into pdf. Any images converted to PDF format online, quickly and easily, without having to install any software.

 

Translate

NigelStratton
Forum|alt.badge.img+5

JamesTheBest, but you're not able to use that as an SmO are you? How would you get the saved file in the rules?

 

BB33, just remember that an anon form in the cloud is accessible by anyone. For my anon forms I add a query string parameter like https://myname.onk2.com/Runtime/Runtime/Form/MyForm?ID=33

 

Then in a server side rule I use a stored proc to verify that the id=33. I don't put it in the rules of the form because it's possible to find them in the page. If the stored proc returns false I also hide all the views in the form so you only see a blank page. The downside is if someone can see the URL they can see the ID=33. Not sure if there is a better way to handle this. 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings