Solved

Docgen Error due to rich text field


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

icon

Best answer by Nav185 12 April 2019, 09:04

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?

 

 

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

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

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

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

 

Let me know if this does the trick.

Sure I'll try and let you know

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

 

 

Badge +7

@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.

Yeah I haven't tried it but I'll update you if this works
@DocGenVinnie okay thanks I'll do that if nothing works

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

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

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

Reply