Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8497

Close Current Window using html page

$
0
0

Hi

 

We have migrated a WDJ dc from 7.0 to 7.3, before migration there was a code to close window using html file as given below. This code is not working on 7.3 now as this might be removed from API & no javadocs are available for the same.

 

Please provide some suitable way to redirect to URL(created for close.html), as I want to close window using the same html file. Also I'm not able to create fireplugs, so exitplug method wont work.

 

 

String Url = WDURLGenerator.getWebResourceUrl(wdComponentAPI.getComponent().getDeployableObjectPart(),"close.html");

 

TaskBinder.getCurrentTask().getClient().sendRedirect(Url, 0);

 

 

Thanks

Akanksha


Viewing all articles
Browse latest Browse all 8497

Trending Articles



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