2 Replies Latest reply on Sep 15, 2017 9:56 AM by rutvijdhotey

    Defining Individual Actions for HTML-Based Action Extensions: Action Url exceeding the character limit. How to change the url and send the contents as dataparams?

    rutvijdhotey Lurker

      Hello,

      I am invoking an action by defining it in the plugin.xml file.

      The action is invoked for a certain number of entities and the the url that is created is as follows:

       

      https://localhost:9443/vsphere-client/views/action/ACTION.html?&actionUid=ACTIONPATH&locale=en_US&webClientSessionId=sessionID123456789&targets=target1,target2,target3......

       

      This works perfectly for a certain number of targets, but when it exceeds the length of the url max, i get a HTML Header error in virgo log.

      I am certain that this happens because we are sending the get request with the url exceeding the limit and i wish to change the url and send data params.

      Also how would i change the GET to a POST if i wanted to ?

       

      ty