Is there a way to be able to do that ? if I fill that form in a normal browser I can see the url changed but not in the HTML Viewer events. I tried in DocumentComplete, DocumentProgressChanged; StatusChanged but unfortunately nothing shows the correct URL.
Hello Michael, unfortunately it does not work , CancelLoad gets fired if the load was canceled so it’s not my case ,and NewWindow is when you want to load new window, as well not my case .
On my side the URL gets changed I guess by js or something and does not refresh the page at all so the Viewer does not know that URL was changed if no page refresh was requested , I assume, I’m not sure.
Apparently there is no other way to detect that with the current module.
Well none of them are working , Status change works only if you press or hoover a url in the interface and it shows the URL but that defeats the purpose of automating things, as Joost said as well, there are things on Web that are not on desktop so I guess it would be nice to have same functionality everywhere at least on this side as after all it supposed to work that way .
@XOJO side, is it possible to have this changed ? or add the functionality by subclassing it ? and how ?
Is this a public website? If you give us the URL we might be able to help.
Your event handler is then called with the new status/title as parameter.[/quote]
While I did get that part the problem is that the service is not changing the title and because it is an external service, I cannot control it , so I have to depend and adapt for it , and now having title changed is out of the question . Status changed in the same time is little bit fishy and not always firing properly I guess so I cannot rely on that.
Is this a public website? If you give us the URL we might be able to help.[/quote]
Hello Michael, well the problem is that the service is public but it requires a username and password to login and as well a certificate so unfortunately we cannot share that , I wish I could.
The service works like following ,
You have the login page which we managed to make it work, by inputing the username and password and logging in
Then you have to fill the form with the requirements you need, and once this is done it generates a document with a barcode and as well changes the url with [quote]https://website/submitted?caseid=xxxx[/quote] where xxxx could be one or multiple separated by “,” then once we get those id’s we call the api and we do the rest of the processing.
And so far we are obliged to use it that way so we cannot skip it .
Regarding the timer so far I have no idea how they doit and how they use it, I already asked the question and if I could have the exact script that is doing the update then maybe as you said I could add a trigger handler and update and get the id’s once updated , so far waiting for update from their side, but as well looking for other solutions.
Ok so they did offered for us an option that is quite ok if we make it work, so apparently they did added an attribute that supposed to hold those id’s once generated , now because the page gets loaded via Ajax so there is no page refresh what would be the best way to trigger this and get the data ?