Javascript function onPageBrowser(...) missing or replaced?

Hello, I am migrating 4.6 to 5.1 control which was using onPageBrowser() function. Apparently this function no longer exists. Is there another way to perform the same thing now? Thanx in advance
Nov 28, 2007 17:27
Hi Milos! Hi guess is that you want a page selecting property in your templates. This has somewhat changed in EPiServer CMS. First of all, to be able to have the popup menus working in Firefox we had to rewrite the way we used popups in the UI. This has resulted in a number of breaking changes in our internal javascript methods. The onPageBrowser method that existed in the system.js file in EPiServer CMS 4 is now replaced by the EPi.CreateBrowserDialog method in EPiServer CMS 5. The target aspx file has also moved from util to UI/Edit/ for security reasons so you have to make sure that the user has access to this file. We are currently working on some documentation on how to work with our popup functionality. This will most likely result in a technical article that will be published tomorow. The information might also end up in the next version of the SDK. Until then you will have to view the source for one of the pages in our UI that uses the functionality. A related resource of information that might be good to read is the page "Running EpiServer without the User Interface" in the Developers Guide section of the SDK.
Nov 29, 2007 11:41
Got it working, thanx! It was actually easy to find. It is enough to go to Edit mode where some property for picking pages exists and view the js call in the source. Will read the article.
Nov 30, 2007 9:16
Some documentation has been released on this (today) in the following article: / Daniel Tempel
Nov 30, 2007 15:32
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.