rajasoorya_kc
asked on
How to add ListName property instead of ListGuid in Onet
I have a ContentQueryWebPart in my home page which displays the data from a list.
When i genereate the XML for the webpart, i see that the XML ahs a property called ListGuid which points to the list from which the data has to be displayed from. Is it possible to have the ListName or the listPath instead of the ListGuid? This is because, obviously, the Guid of the list would differ if the portal has to be deployed in a different server.
When i genereate the XML for the webpart, i see that the XML ahs a property called ListGuid which points to the list from which the data has to be displayed from. Is it possible to have the ListName or the listPath instead of the ListGuid? This is because, obviously, the Guid of the list would differ if the portal has to be deployed in a different server.
<property name="ListGuid" type="string">B22FCCBB-7A71-42E5-9296-AEEB5B06D380</property>
OOTB webparts there is very little you can do. If you want you can write your own webpart that looks for List Name and then display the data.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Open in new window