Skip to main content
Nintex Community Menu Bar
Solved

Docgen Error due to rich text field

  • Apr 9, 2019 9:52 AM UTC
  • 13 replies
  • 248 views
  • Translate All

I am getting an data invalid error due to my rich text field for some records and few records are working fine whenever I am running my docgen package through docgen button present in object layout. But all the records are working fine whenever I am testing the docgen package through button present on the docgen package layout

Best answer by Nav185

@DavidStephen  its working for now after adding session id thanks David.

View original

13 replies

Are both buttons passing the session ID?

 

Such as...

 

Button or Link URL

/apex/loop__looplus?eid={!Opportunity.Id}&accountId={!Opportunity.AccountId}&sessionId={!$Api.Session_ID}

 

I am asuming this is being run in Salesforce Classic?

 

 

Translate

  • Author
  • Apr 9, 2019 3:27 PM UTC

No I'm not using session ID here. Yeah its in Salesforce classic.

Translate

To test is it possible to add that perameter and see if it works?

Translate

  • Author
  • Apr 9, 2019 3:52 PM UTC

Do you want me to add session id and check if it's working?

Translate

Yes please. I have a feeling that may be the culprit.

 

Let me know if this does the trick.

Translate

  • Author
  • Apr 9, 2019 4:56 PM UTC

Sure I'll try and let you know

Translate

Did this do the trick? If so please post this as correct or answered.

 

 

Translate

DocGenVinnie
Nintex Employee
Forum|alt.badge.img+7
  • Nintex Employee
  • Apr 10, 2019 6:16 PM UTC

@Nav185  I would recommend you open a case with support and we could help determine the cause of the error.   You should be able to open directly in the Customer Central.

Translate

  • Author
  • Apr 11, 2019 6:45 AM UTC
Yeah I haven't tried it but I'll update you if this works
Translate

  • Author
  • Apr 11, 2019 6:47 AM UTC
@DocGenVinnie okay thanks I'll do that if nothing works
Translate

  • Author
  • Answer
  • Apr 12, 2019 7:04 AM UTC

@DavidStephen  its working for now after adding session id thanks David.

Translate

  • Author
  • Apr 12, 2019 7:06 AM UTC

@DocGenVinnie  it's working after adding session id if we get this error in future we'll raise an issue thanks 

Translate

  • Feb 12, 2022 1:47 PM UTC

Hi David,

 

I have created button with link refering to packageid(Object: Opportunity), where in package, there is form field(list View) , button is working fine for 2 picklist value, ppt is getting downloaded, but one value it is showing up error.

below i got this error , Tender_Monthly_News_Update is custom field(rich Text field(5000) , but records fetching in query has more than 25000 characters for the above field.

 

An error occurred filling the following tag :

File Name: Monthly Sales Report_Tender_Activity Group_Test v9
Tag: Tenders_Must_Win_Tender_Monthly_News_Update
Value: <p><b>202105</b></p><p>At the end of April 2021, we submitted the formal commercial offer including TI and preliminary LCC-calculations.</p><p><br></p><p><b>202104</b></p><p>The tender process is still on hold because the Court has not yet taken a decision on the law suit regarding transfer of staff. Until then the operation of the network cannot be awarded.</p><p><br></p><p><img src="https://faiveley--onetransit--c.documentforce.com/servlet/rtaImage?eid=0060D000008YcW0&amp;feoid=00N0D0000017w2i[...]
(DataInvalid)
Include this Error Id if you contact support: 6d898fbf-7dd6-4736-995b-27b1f0c8530c

 

 

Can you please suggest on this.

 

Thanks,

Sam

Translate