This question is locked. New answers and comments are not allowed.
Hello,
We have an application with serves various customers. Each customer has its specific content directory where their files are stored.In our application this is ~/Mediabase/ + Customer GUID. We had now a requierement that the customer schould only see the word "Root" instead of the Customer GUID in the URL for browsing. I sucessfully changed the behavior of the Image browser changing the methods Browse and Thumbnail.
In the overwritten Browse Method of the EditorFileBrowserController I replace the customer part of the path property of the json result with "Root". Browsing and Thumbnails work fine.
The only problem I have now is, when inserting an image. Instead of the /Mediabase/CustomerGuid/Image now the url is /Root/Image and I get an error "NetworkError: 404 Not found ...". I think I have to change the url back again before inserting the image. But how can I do that ? Is there a client event handler where I can customize the behavior when inserting ?
We have an application with serves various customers. Each customer has its specific content directory where their files are stored.In our application this is ~/Mediabase/ + Customer GUID. We had now a requierement that the customer schould only see the word "Root" instead of the Customer GUID in the URL for browsing. I sucessfully changed the behavior of the Image browser changing the methods Browse and Thumbnail.
In the overwritten Browse Method of the EditorFileBrowserController I replace the customer part of the path property of the json result with "Root". Browsing and Thumbnails work fine.
The only problem I have now is, when inserting an image. Instead of the /Mediabase/CustomerGuid/Image now the url is /Root/Image and I get an error "NetworkError: 404 Not found ...". I think I have to change the url back again before inserting the image. But how can I do that ? Is there a client event handler where I can customize the behavior when inserting ?