vaibhav87's Posts

Hi,   Any api documentation for com.vmware.vise.data.query.PropertyConstraint   I want to fetch all the networks of virtualmachine using dataService,[com.vmware.vise.data.query.DataService] ... See more...
Hi,   Any api documentation for com.vmware.vise.data.query.PropertyConstraint   I want to fetch all the networks of virtualmachine using dataService,[com.vmware.vise.data.query.DataService] Thanks
Hi,   We are developing a plugin similar as demonstrated in chassis app.   In our Custom object we have more object view where we show host, datacenter, virtualmachine listView.   Similarly we... See more...
Hi,   We are developing a plugin similar as demonstrated in chassis app.   In our Custom object we have more object view where we show host, datacenter, virtualmachine listView.   Similarly we want to show our custom object list in datacenter, datastore and host related item. Tried with below sample code but . <extension id="xxx.xxx.xxx.relateditems.specs.host">    <extendedPoint>vise.relateditems.specs</extendedPoint>    <object>       <type>HostSystem</type>       <relationsViewId>vsphere.core.host.related</relationsViewId>       <relationSpecs>          <com.vmware.ui.relateditems.model.RelationSpec>             <id>XXXForHost</id>             <icon>#{XXX}</icon>             <label>Test Plugin relation</label>             <relationXXX</relation>             <targetType>XXX:XXX</targetType>             <listViewId>xxx.xxx.xxx.list</listViewId>          </com.vmware.ui.relateditems.model.RelationSpec>       </relationSpecs>    </object> </extension> IN HTML CLIENT 6.7    Is it possible to add new tab in datacenter/host/datastore related view ?    Any other place in vmwre workspace object where i can show my custom object list ?
 Hi Denis,    Thanks For the update,  privilege tag will work on vCenter 6.7U1 only ? or it will work on previous versions also if we build plugin using Sphere Client SDK 6.7U1.
Hi Denis thanks for the response.   WEB-PLATFROM.getUserSession() will return all the available sever info but not the selected one and as we have used serverSelector using extension we need    ... See more...
Hi Denis thanks for the response.   WEB-PLATFROM.getUserSession() will return all the available sever info but not the selected one and as we have used serverSelector using extension we need       selected server details.        While debugging we found that location.href injected by vmware parent on page in FLEX + 6.5 HTML and vSphere 6.7 html is different     In Flex client all version + HTML 6.5 client it provides all the details in location.href where as in 6.7 html these details are missing.     Attaching screenshot for the same.     1. Do we need to modify anyting to make it compatible with vSphere 6.7 HTML Client ?     2. Are there any other options available to fetch selected serverInfo using JAVA or JAVASCRIPT API ?   Thanks
Can you please share the changes done, I am facing the same issue. DO we need to add any additional lib for MappingJackson2JsonView.   Thanks
I have plugin deployed on vsphere 6.7 on both Flex and HTML version. Plugin is developed using html-client sdk . Now post-deployment vsphere-client[Flex] web-platform.js gives proper serverGui... See more...
I have plugin deployed on vsphere 6.7 on both Flex and HTML version. Plugin is developed using html-client sdk . Now post-deployment vsphere-client[Flex] web-platform.js gives proper serverGuid but same fails on html client i.e vsphere-ui. Flex client return proper serverGuid = xxxx xxx xxx xxx whereas in html client we are getting serverGuid as null. / Get the info provided in a global view using a vCenter selector       WEB_PLATFORM.getVcSelectorInfo = function() {          var info = {serviceGuid: getURLParameter("serviceGuid"),                      sessionId: getURLParameter("sessionId"),                      serviceUrl: getURLParameter("serviceUrl")};          return info;       }; Thanks
Hi Tony thanks for response., Please share the end-to-end example you have .
Hi, In our plugin Japanese characters are not passing from Flex-Client to Java Service layer. Where as with same code, English characters are passed properly to java service layer. I have c... See more...
Hi, In our plugin Japanese characters are not passing from Flex-Client to Java Service layer. Where as with same code, English characters are passed properly to java service layer. I have checked all the BlazeDs and spring settings files with SDK example everything is same.   Encoding is UTF-8 in all settings and Flex-MXML codes. Can anyone help me what need to be check to resolve the issue. Thanks,
Hi,   We were testing vSphere Web client 5.5 SDK chassis sample and found following issues with 5.1 compatibility.     1. Chassis (5.5 SDK ) sample works fine with 5.5 web client and 6.0 web cl... See more...
Hi,   We were testing vSphere Web client 5.5 SDK chassis sample and found following issues with 5.1 compatibility.     1. Chassis (5.5 SDK ) sample works fine with 5.5 web client and 6.0 web client server.      2. While same example deployed on vSphere web client 5.1 sercver, it throws error 1009. Any help on above context, we are referring 5.5 SDK for our plugin development and same issue is occurred on our UI as well. Thanks
Are you sure you have make all the changes mention in 2 Important reminders for your 5.5 plugin to be compatible with Web Client 6.0 1. Change Web-ContextPath to vsphere-client/plugin-name in ... See more...
Are you sure you have make all the changes mention in 2 Important reminders for your 5.5 plugin to be compatible with Web Client 6.0 1. Change Web-ContextPath to vsphere-client/plugin-name in MANIFEST.MF 2.Change endpoint class for https : com.vmware.vise.messaging.endpoints.SecureAMFEndpoint                           http : com.vmware.vise.messaging.endpoints.AMFEndpoint                                  Add above class entry in MANIFEST.MF, if not available in import list. 3. Add ServiceUtil code to your plugin and use for connection. with above changes we were able to deploy our plugin to VC 6.0.
Hi, Currently we are using DailyTaskScheduler for SOME activity in our plugin. Code Snip :     taskSpec details :                 name : "task name"                 description : "some ... See more...
Hi, Currently we are using DailyTaskScheduler for SOME activity in our plugin. Code Snip :     taskSpec details :                 name : "task name"                 description : "some desc"                 enabled = true;                 scheduler = dailyScheduler.                               CreateTaskAction taskAction = new CreateTaskAction();                taskAction.cancelable = true;                taskAction.taskTypeId = "XXX_ID"                  taskSpec.action = taskAction;               scheduledTaskManager.createScheduledTask(me, taskSpec);  //for creating schedule task. Above code works fine with vCenter 5.1 and 5.5 but while deployed in VC 6.0 it throws com.vmware.vim25.InvalidRequest While checking on web client task details it says : You have attempted to use scheduler vim.scheduler.TaskScheduler that is unknown to VCenter.
Hi..   Refer vCenter Orchestrator plugin.xml, here you will find all the answers for your query.   You need to define custom hostPoints to show summary and getting started view. ... See more...
Hi..   Refer vCenter Orchestrator plugin.xml, here you will find all the answers for your query.   You need to define custom hostPoints to show summary and getting started view.    
Web Client SDK 6.0 Download Link vSphere Web Client SDK for vSphere 6.0 - VMware Developer Center
Hi,   where I can found documentation for DataAdapter 5.1 and 5.5   Want to identified both adapter were same or 5.5 dataAdapter has new features.   Thanks
Hi, We have a plugin developed for 5.1, working fine with    - web-client 5.1 and web-client 5.5    - Soon we deploy same plugin in web client 6.0 the GUI is not displayed.    - Checked log ... See more...
Hi, We have a plugin developed for 5.1, working fine with    - web-client 5.1 and web-client 5.5    - Soon we deploy same plugin in web client 6.0 the GUI is not displayed.    - Checked log in vsphere_client_virgo.log no error or warning is generated.    - log says plugin started. Any help on this.
Hi, In our plugin we showing Virtualmachine as related item. Data get displayed property in VM-LIST but soon we use filter it stops working. Any help.
Hi,   Using QuerySpec I am trying to fetch list of Hosts under a cluster   I have following code // create QuerySpec     QuerySpec qs = new QuerySpec();     qs.resourceSpec = new ResourceS... See more...
Hi,   Using QuerySpec I am trying to fetch list of Hosts under a cluster   I have following code // create QuerySpec     QuerySpec qs = new QuerySpec();     qs.resourceSpec = new ResourceSpec();     qs.resourceSpec.constraint = new Constraint();     // HostSystem is the targetType     qs.resourceSpec.constraint.targetType = "HostSystem";     // request the name property     PropertySpec pSpec = new PropertySpec();     pSpec.propertyNames = new String[]{"name"};     qs.resourceSpec.propertySpecs = new PropertySpec[]{pSpec};     qs.resultSpec = new ResultSpec();     qs.resultSpec.maxResultCount = new Integer(maxResultCount);     // use default ordering     qs.resultSpec.order = new OrderingCriteria();     qs.resultSpec.order.orderingProperties = new OrderingPropertySpec[0];     // get data from DataService     RequestSpec requestSpec = new RequestSpec();     requestSpec.querySpec = new QuerySpec[]{qs};     Response response = _dataService.getData(requestSpec);     ResultItem[] items = response.resultSet[0].items;     if (items == null) {        return new Object[0];     }     Object[] objects = new Object[items.length];     for (int index = 0; index < items.length; ++index) {        objects[index] = items[index].resourceObject;     }     return objects;   Code is same as in ChassisRack adapter , where I can specify the cluster details so only host under cluster will get fetched .
Hi I am not sure about WEB_PLATFORM.getUserSession() but same can be done through JavaService layer which will return you all required user info.
How  restrict all plugin functionality for non-admin user ? Thanks