dharmeshj's Posts

Hi Folks, I am trying to filter extension by Property Value using the "com.vmware.data.query.PropertyConstraint" <nestedConstraint> tag in "plugin.xml", where a PropertyProviderAdapter is b... See more...
Hi Folks, I am trying to filter extension by Property Value using the "com.vmware.data.query.PropertyConstraint" <nestedConstraint> tag in "plugin.xml", where a PropertyProviderAdapter is being implemented which returns the Property Value as boolean and matches the Property Name as String, based on that the extension needs to be rendered, but in HTML5 these doesn't seem to work, please suggest any plausible ways to implement the extension filter in HTML5 plugin. Here is an sample example. <extension id="com.vmware.samples.actions.vmActionSet">            <extendedPoint>vise.actions.sets</extendedPoint>                 <object>                      <actions>                           <com.vmware.actionsfw.ActionSpec>                                <uid>com.vmware.samples.actions.myVmAction1</uid>                                <label>#{action1.label}</label>                                <command className="com.vmware.samples.actions.VmActionCommand"/>                           </com.vmware.actionsfw.ActionSpec>                      </actions>                 </object>            <metadata>                      <objectType>Datastore</objectType>                           <propertyConditions>                                <com.vmware.data.query.CompositeConstraint>                                <nestedConstraints>                                                                 <com.vmware.data.query.PropertyConstraint>                                          <propertyName>summary.type</propertyName>                                          <comparator>EQUALS</comparator>                                  <comparableValue>                                          <String>VMFS</String>                                    </comparableValue>                                </com.vmware.data.query.PropertyConstraint>                                <com.vmware.data.query.PropertyConstraint>                                     <propertyName>sampleDatastore</propertyName>                                                <comparator>EQUALS</comparator>                                          <comparableValue>                                               <String>true</String>                                          </comparableValue>                                </com.vmware.data.query.PropertyConstraint>                      </nestedConstraints>                 <conjoiner>AND</conjoiner>            </com.vmware.data.query.CompositeConstraint>       </propertyConditions>    </metadata> </extension> Here sampleDatastore Returning true but filter is not working. Please provide some guidance. Thanks in advance I have the same question Show 0
Hi Folks, I am trying to build  HTML5 plugin, for which there is a need to implement VMware "PropertyProviderAdapter" from "com.vmware.vise.data.query" package. I am trying to call an API from... See more...
Hi Folks, I am trying to build  HTML5 plugin, for which there is a need to implement VMware "PropertyProviderAdapter" from "com.vmware.vise.data.query" package. I am trying to call an API from REST backend from the property provider adapter implemented Class. Now in order to call the REST API, I need to pass VMware session id and "managed object reference" to the API, my query is that is how we can get VMware session id from vSphere library or something related. I need the plugin to work in the linked mode as well, and we are using SDK 6.5 U2 for development. Thanks in advance
Hi Stoevm, Thanks, It is working as expected. Regards Dharmesh
I am using an extension (as given below) to show an portlet in plugin mode. In this extension i am using a <dialogSize> Property to increase height and width of portlet. But height & width is not... See more...
I am using an extension (as given below) to show an portlet in plugin mode. In this extension i am using a <dialogSize> Property to increase height and width of portlet. But height & width is not reflecting in plugin mode. and appearing with it's default height and width <extension id="com.vmware.samples.vspherewssdk.datastore.summary">   <extendedPoint>vsphere.core.datastore.summarySectionViews.html</extendedPoint>   <object>   <name>#{summaryView.title}</name>   <contentSpec>         <url>/ui/vspherewssdk/resources/vm-summary.html</url>         <dialogSize>440,400</dialogSize>   </contentSpec>   </object> </extension> Note: I am using V-Center Server 6.5U2. Please provide some guidance. Thanks in Advance Regards Dharmesh
Hi, I applied your suggestion and its working as expected. Thanks a lot. Regards Dharmesh
Hi Stoevm, Thanks for replying, I am getting this issue in vcenter 6.5 version. Regards Dharmesh
I am trying to register a html plugin in vcenter, but the project is dependent on a module in my project, I need to understand how vcenter fetches the jars and which configuration files are nee... See more...
I am trying to register a html plugin in vcenter, but the project is dependent on a module in my project, I need to understand how vcenter fetches the jars and which configuration files are needed to configure so that it gets deployed in virgo server and get bundled with the required jars and wars. Please let me know if further clarification is required and thanks in advance.
I am trying to apply a EQUALS_ANY_OF condition in plugin.xml file. but this condition is not working due to which my portlet is not appearing in plugin mode. While on same extension when i am us... See more...
I am trying to apply a EQUALS_ANY_OF condition in plugin.xml file. but this condition is not working due to which my portlet is not appearing in plugin mode. While on same extension when i am using  only EQUALS condition it is working fine and appearing in plugin mode. Here is code below. <extension id="mycompany.testPortlet">      <extendedPoint>vsphere.core.datastore.summarySectionViews</extendedPoint>      <object>       <name>#{PortletName}</name>          <contentSpec>             <url>/ui/index.html?view=portlet-view</url>             <metadata><entry><key>hasTitle</key><value>false</value></entry></metadata>          </contentSpec>       </object>       <metadata>          <objectType>Datastore</objectType>          <propertyConditions>             <com.vmware.data.query.CompositeConstraint>                 <nestedConstraints>                     <com.vmware.data.query.PropertyConstraint>                         <propertyName>summary.type</propertyName>                         <comparator>EQUALS_ANY_OF</comparator>                         <comparableValue>                             <String>VVOL,NFS,NFS41,NAS,VMFS</String>                         </comparableValue>                     </com.vmware.data.query.PropertyConstraint>                 </nestedConstraints>             </com.vmware.data.query.CompositeConstraint>         </propertyConditions>     </metadata>    </extension> Please provide inputs on this. Thanks in Advance.
Hi, Thanks for reply. we made changes as per suggestion to get dynamically height. It changes dynamically. But if we increase height we are getting same black row in clarity wizard. Please ... See more...
Hi, Thanks for reply. we made changes as per suggestion to get dynamically height. It changes dynamically. But if we increase height we are getting same black row in clarity wizard. Please find attachment. Regards, Dharmesh Jain
we are using HTML5SDK to open modal, we are using width- 864px height- 450px, This is the default values of height & width of wizard appending in the modal. we are getting black row with t... See more...
we are using HTML5SDK to open modal, we are using width- 864px height- 450px, This is the default values of height & width of wizard appending in the modal. we are getting black row with this height parameter. Thanks in advance!