Recentrly I had a requirement to set some custom property in the CQWP and hence I extended the CQWP using Toolpart custom fields. No problem till here and all are server side code and a lot of articles available in Google search. The second part is how to read the custom property is the challenging part.
The following are the steps.
In the web part class add the override ModfyXSLTArgumentList method, which will add the Information as parameter and will be used for XSLT processing. The article describes beautifully and have a look at it Extending content query web-part with custom data
The below link will describe about how to creat custom properties using Toolpart.
Sharepoint custom toolpart properties
The following are the steps.
In the web part class add the override ModfyXSLTArgumentList method, which will add the Information as parameter and will be used for XSLT processing. The article describes beautifully and have a look at it Extending content query web-part with custom data
The below link will describe about how to creat custom properties using Toolpart.
Sharepoint custom toolpart properties
No comments:
Post a Comment