Quantcast
Channel: SCN : All Content - Web Dynpro Java
Viewing all articles
Browse latest Browse all 1288

PDF download is not working after migrating WDJ code from 7.02 to 7.31

$
0
0

Hi Expert,

 

I have migrated WDJ code from 7.02 to 7.31.After migration PDF download is not working as expected.

 

I used following code to create PDF.

 

l_pdfResource = WDResourceFactory.createResource(wdContext.currentContextElement().

getAttributePointer(IPrivateCompletionPopUp.IContextElement.CTX__RESOURCE_ON_DEM_STREAM), l_str_fileName, WDWebResourceType.PDF);

 

I am  getting following link while trying to open PDF.

 

http://xxxxxxxxx/webdynpro/dispatcher/xxxxx/xxxxxxx/xxxxxx/~wd_cache_/~wd_key_fSoMiCOKzblKgtRm/Approval_2014-10-22_19565656.pdf?sap-wd-download=1&sap-wd-cltwndid=ac535acf59dc11e4c1c800000055d607&sap-wd-secure-id=OgSgFTUYQOmEVOCfsCvF0w%3D%3D&sap-wd-appwndid=ac535ad059dc11e4916200000055d607&sap-wd-norefresh=X

 

And also getting following pop up in that link.

PDF.jpg

Can you please help me to fix the issue.

 

Thanks,

Patralekha


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>