|
![]() |
#1 |
Участник
|
daxdilip: Tip – EP Customization ( Dynamically Loading Report Folder from Network based on Store Parameter)
Источник: http://daxdilip.blogspot.com/2011/06...namically.html
============== Overview I had this requirement where based on the logged in Store Number, the user should be able to open the corresponding Report Store Folder (located in an UNC Network Path) from Enterprise Portal web page Solution/WorkArounds: Initially, tried writing a separate web part which loads a .Net File Dialog user control box but it was turning out to be complex so left the approach as time was limited Then, tried the out of the box Page Viewer Web Part but it has the limitation wherein you can't dynamically load the network path and in order to attain it, one needs to write a custom Dynamic Page Viewer Web Part which is another time consuming and complex customization. After some investigation, I found a much simpler way to achieve this.
Tip: Initially, I was using the ClientScript.RegisterStartupScript method to register the script block but landed into the same issues this bloke was facing when trying to load from webpartzone. http://stackoverflow.com/questions/6...pt-not-working , ScriptManager came to my rescue here. Below is the button in action on our portal Site (Role Center Page) which loads the network Report path Источник: http://daxdilip.blogspot.com/2011/06...namically.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|