One action I confirm is that Internet Explorer closes on clicking a certain button.
My Validate event has Action="NotExists" and targets my WebDocument object. The Path for that object is "/dom[@domain='myUrl.example']".
The validation works, but takes 20 seconds or something to finish. It would be preferable if I could change the timeout to 5 seconds or something. Does anybody know how to do this?
How do I change the timeout for a NotExists validation?
-
- Posts: 7
- Joined: Wed Mar 23, 2011 1:20 am
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: How do I change the timeout for a NotExists validation?
Hi,
if you make a validation on an Adapter you have to set the Seach Tiemout of this Adapter.
So, in your case, you have to set the Search Timeout of your WebDocument in your Repository.
That means on the other side if you are searching in this WebDocument it might come to problems, cause of this short Search Timeout.
So if you are searching on this Adapter und additionally want to validate it the best approach is to hold to seperate WebDocument items in you Repository, one for validating (shorter Search Timeout) and the other for searching (longer Search Timeout).
Regards,
Tobias
Support Team
if you make a validation on an Adapter you have to set the Seach Tiemout of this Adapter.
So, in your case, you have to set the Search Timeout of your WebDocument in your Repository.
That means on the other side if you are searching in this WebDocument it might come to problems, cause of this short Search Timeout.
So if you are searching on this Adapter und additionally want to validate it the best approach is to hold to seperate WebDocument items in you Repository, one for validating (shorter Search Timeout) and the other for searching (longer Search Timeout).
Regards,
Tobias
Support Team
-
- Posts: 7
- Joined: Wed Mar 23, 2011 1:20 am
Re: How do I change the timeout for a NotExists validation?
Cool, that worked very well! Thank you! I also learned how to make a new Adapter.