I've tried lots of querys and giving admin access to the webApp user, but nothing appears in the debugging page
Any solution? Thank you in advance
Topics help categorize Community content and increase your ability to discover relevant content.
In the <select> tag you aren't defining any <node> to select for the querydef. You can try giving nodes inside the select to get the results. Nodes are the parameters you want to query/get using the querydef function.
Hope this helps.
No, SelectAll adds all fields on the select part, so node isn't needed. I've tried it anyway but it didn't work...
Hello @Heku_ ,
i have never used select all tbh. You can print result with JSON.Stringify(). Can you skip that selectAll?. Have you tried something like:
var res = query.ExecuteQuery(); var services= res.getElementsByTagName("service"); logInfo(services.length); logInfo(JSON.Stringify(services));
Do you have admin rights? Have you run the web app in admin mode? You can escalate admin rights for the query when you do not want to give admin rights to web app user.
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.