Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

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?

$
0
0

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


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>