kixelsyD
asked on
Dynamic URL for a Key Performance Indicator List Web Part
Hello,
I am working with SharePoint 2010 and a Key Performance Indicator List webpart to show a status report. Everything works great..... but when I save the site as a template and then use that template again... I found that the KPI Web part does not change the URL to the List. It retains the old URL.
For example. I created the site "Project B", Save it as a template. I then create a new site "HelloWorld". The Web part stops working becase it is still pointing to the origninal URL. I then go back and correct the URL.
The oringinal URL: "/projectb/Lists/Status Report/KPIListViewPage.asp x"
It should be: "/HelloWorld/Lists/Status Report/KPIListViewPage.asp x"
I have tried removing the first part and leaving "/Lists/.......", The system will add the current URL when I save it..... back to square one.
Is there a way to add a "[site name]" to the url? Some type of "wild card" that will allow the URL to be dynamic?
Thank you,
I am working with SharePoint 2010 and a Key Performance Indicator List webpart to show a status report. Everything works great..... but when I save the site as a template and then use that template again... I found that the KPI Web part does not change the URL to the List. It retains the old URL.
For example. I created the site "Project B", Save it as a template. I then create a new site "HelloWorld". The Web part stops working becase it is still pointing to the origninal URL. I then go back and correct the URL.
The oringinal URL: "/projectb/Lists/Status Report/KPIListViewPage.asp
It should be: "/HelloWorld/Lists/Status Report/KPIListViewPage.asp
I have tried removing the first part and leaving "/Lists/.......", The system will add the current URL when I save it..... back to square one.
Is there a way to add a "[site name]" to the url? Some type of "wild card" that will allow the URL to be dynamic?
Thank you,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.