R
RocketMan
I figured out how to get onsaverequest to work and only added the UI
Alert to see what was in the object, but filename is always blank:
function XDocument::OnSaveRequest(eventObj)
{
XDocument.UI.Alert("Filename is:"+eventObj.FileName);
eventObj.IsCancelled = eventObj.PerformSaveOperation();
XDocument.UI.Alert("Filename is:"+eventObj.FileName);
eventObj.ReturnStatus = true;
XDocument.UI.Alert("Filename is:"+eventObj.FileName);
}
What I want is the filename and path in one string if possible. HELP!
Alert to see what was in the object, but filename is always blank:
function XDocument::OnSaveRequest(eventObj)
{
XDocument.UI.Alert("Filename is:"+eventObj.FileName);
eventObj.IsCancelled = eventObj.PerformSaveOperation();
XDocument.UI.Alert("Filename is:"+eventObj.FileName);
eventObj.ReturnStatus = true;
XDocument.UI.Alert("Filename is:"+eventObj.FileName);
}
What I want is the filename and path in one string if possible. HELP!