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

How to remove HTML pages for 5.5 version

$
0
0

Hello,

 

From 5.5.1, Support for the HTML plugin has been enabled.

In case of Flex + HTML plugin, It works fine with the versions above from 5.5.1.

But if we run same plugin for 5.5.0, HTML pages fails to load and on the other hand we get to see full page error, please refer attached image.

For the solution, I thought to use metedata conditions as shown below, which will display our HTML components( summary view / monitor tab, etc ) only if version will be 6.0.

 

<metadata>

  <objectType>VirtualMachine</objectType>

  <propertyConditions>

              <com.vmware.data.query.CompositeConstraint>

                <nestedConstraints>

                  <com.vmware.data.query.PropertyConstraint>

                      <propertyName>content.about.version</propertyName>

                      <comparator>EQUALS</comparator>

                      <comparableValue>

                          <String>6.0.0</String>

                      </comparableValue>

                    </com.vmware.data.query.PropertyConstraint>

                  </nestedConstraints>

              </com.vmware.data.query.CompositeConstraint>

          </propertyConditions>

  </metadata>

 

But, above logic fails when we use versions like 5.5.2 / 6.1. Is there any generic way to achieve such issue.

 

Thanks in Advance,

Mayur Mankar

 

Untitled.png


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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