Dear,
Is it possible in Dataminer 10.2.0.0 to invoke HTTP session from QAction and is it possible in this same QAction, before invoke HTTP session to replace string in Request verb on the way like it is possible in native C#.
For example: in xml, http session1:<Request verb=”GET” url=”/my-cgi/par?page=[Strings from QAction]”>
In QAction var Strings from QAction=”10″ to have url=”/my-cgi/par?page=10″, and then execute session.
What namespaces must be included in QAction, what classes and how to use them?
Thank you.
Hi,
I believe that your use case aligns with the goal of the pid attribute | DataMiner Docs within the Request tag.
As mentioned in the docs page its purpose is to replace the usage of URL by pointing the session to a parameter that you have defined.
This way you should be able from your QAction to build the URL, do note that you will have to include the complete string “/my-cgi/par?page=10” and not just “10” but using Method SetParameter | DataMiner Docs followed by Method CheckTrigger | DataMiner Docs you should be able to trigger an event that adds your group to the execution queue.
Hope this helps.
Hi João,
Thank you for help. I struggle for more flexible and simpler solution. Believe that it is possible with QAction Helper in newer Dataminer versions but can’t try it.
Was hope that those are possible in our current Dataminer version, but obviously the simple to program in C# not meaning simple in Dataminer xml driver.