cancel
Showing results for 
Search instead for 
Did you mean: 

Preview of Custom PDF from a Custom BO on an EC , which is embedded on Standard TI is not working

dhruv_mehta
Active Contributor
0 Kudos
1,129

Dear All,

I have created an Transient BO ( All fields are transient ) . I created a Form from the BO and looks fine ( means its opening in ALD and alll) , Then I wanted to create a Preview button which shows the PrintForm.

I followeD Cloud application studio Administartion guide and did the same as below.

1. Created an Import to my EC with OpportunityID and UUID ( Since it will be on Oppi)

2.Created a button and linked the same with the eventhandler.

As below

Outport has two paramters as below.

Added a Model dialogue

did a noderefbinding

Did then nav configuration

But on the click of the button OutPut is not getting triggered ( its not getting navigated to the Preview )

Other opertation like Script and all works ( Since i checked it by putting Bool variable on screen )

reddy.dedeepya Can you please help me in this? since I have tried a lot of things but still it just doesnt work.

Regards,

Dhruvin

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Dhruvin,

On Controller tab, under Modal Dialogs Click on Preview and check Lazy Load property in properties window. Set Lazy Load to False and try again.

Regards,

Sujata

dhruv_mehta
Active Contributor
0 Kudos

Dear Sujata!

Thanks a lot. The issue is solved 🙂 and It would have been really difficult to solve the same without your input!

Thanks again!

Regatds

Dhruvin

Answers (1)

Answers (1)

thomaskenner
Participant

Hi Dhruvin,

Your configuration is very similar to mine, I only found 2 small differences

  • I have not set the window Broadcast to true in the Outport.
  • And I have entered the ForceFrontendPreview directly as constant (1 or true <- lower case) in the Parameters.

Only a suggestion hope this helps

Thomas

dhruv_mehta
Active Contributor
0 Kudos

Hi Thomas,

Exactly! I did try with window Broadcast to false it didnt work then i was playing around with the same.Let me try with hardcoding as true and see what happens.