Hrishikesh - Friday, February 22, 2013 10:37 AM:
Hi All,
I am trying open a html/aspx file located under scripts Directory of Aras Installation folder.
i am using
var param3 = new Object();
param3.arasObj = top.aras;
param3.selectIDs = selectedIdArray;
<script type="text/javascript" src="../../javascript/PopulateDocByLabels.js"></script>var win = window.open("LoadCSV/DownloadFiles.html","","status=0,menubar=0,modal=yes,scrollbars=1,resizable=1, width = 400px, height=300px");win.dialogArguments = param3;i am including following scripts in the html file.<script type="text/javascript" src="../../javascript/AddConfigurationLink.js"></script>
<script type="text/javascript" src="../../javascript/scriptset1.aspx"></script>
<script type="text/javascript" src="../../javascript/scriptset2.aspx"></script>
<script type="text/javascript" src="../../javascript/scriptset6.aspx"></script>
what is the solution to get top.aras object every time. am i missing some reference.am passing top.aras as a parameter to the file from Aras Client.The Issue is, i can't get top.aras Object every time. Sometimes i get and sometimes i don't get in the html/aspx as argument passed from Aras Client.
Thanks,
Hrishikesh