Skip to main content
Commonmark migration
Source Link

There is a requirement to get the version number of another web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

![enter image description here][1]enter image description here

I need to display this detail into a web part if possible. It would be better to get another web part's information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?

UPDATE: I dont want to get information on the Web part that I am deploying. I know that System.Assembly can help in getting the version number of any dll. But I would avoid that since all web parts are not deployed in the same place. [1]: https://i.sstatic.net/4cOGk.jpg

There is a requirement to get the version number of another web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

![enter image description here][1]

I need to display this detail into a web part if possible. It would be better to get another web part's information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?

UPDATE: I dont want to get information on the Web part that I am deploying. I know that System.Assembly can help in getting the version number of any dll. But I would avoid that since all web parts are not deployed in the same place. [1]: https://i.sstatic.net/4cOGk.jpg

There is a requirement to get the version number of another web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

enter image description here

I need to display this detail into a web part if possible. It would be better to get another web part's information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?

UPDATE: I dont want to get information on the Web part that I am deploying. I know that System.Assembly can help in getting the version number of any dll. But I would avoid that since all web parts are not deployed in the same place.

Tweeted twitter.com/#!/StackSharePoint/status/181301616677371904
added 255 characters in body
Source Link
Deepu Nair
  • 6.5k
  • 2
  • 23
  • 29

There is a requirement to get the version number of aanother web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

enter image description here![enter image description here][1]

I need to display this detail into a web part if possible. It would be better to get thisanother web part's information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?

UPDATE: I dont want to get information on the Web part that I am deploying. I know that System.Assembly can help in getting the version number of any dll. But I would avoid that since all web parts are not deployed in the same place. [1]: https://i.sstatic.net/4cOGk.jpg

There is a requirement to get the version number of a web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

enter image description here

I need to display this detail into a web part if possible. It would be better to get this information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?

There is a requirement to get the version number of another web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

![enter image description here][1]

I need to display this detail into a web part if possible. It would be better to get another web part's information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?

UPDATE: I dont want to get information on the Web part that I am deploying. I know that System.Assembly can help in getting the version number of any dll. But I would avoid that since all web parts are not deployed in the same place. [1]: https://i.sstatic.net/4cOGk.jpg

Source Link
Deepu Nair
  • 6.5k
  • 2
  • 23
  • 29

Find version number of a webpart

There is a requirement to get the version number of a web part in a page to be displayed programmatically.

We get details of the web part including the version number in the web part gallery as seen below.

enter image description here

I need to display this detail into a web part if possible. It would be better to get this information even without accessing the web part gallery objects, may be using the webpartmanager class to access the page and get the web part properties from it. Can anyone share some tips?