javi_123 Posted July 20, 2011 Share Posted July 20, 2011 Hi All,I need to create a link in a report which points to a specfic folder in repository.In jasperserver 3.7, it was easier to point to a specific repository folder: i.e.http://localhost:8080/jasperserver-pro/flow.html?_flowId=repositoryFlow&folder=/adhoc/topicsIn jasperserver 4, 'repositoryFlow' has been replaced by 'searchFlow' but i'm struggling to point to a specific folder in repository.I have tried to use the following but still no result:http://localhost:8080/jasperserver-pro/flow.html?_flowId=searchFlow&folderUri=/adhoc/topics&mode=browsePlease reply back with the solution.Thanks in advance.jav Link to comment Share on other sites More sharing options...
Exie Posted March 21, 2012 Share Posted March 21, 2012 I know this was started a year ago, but still no answer ? We've got the same problem running version 4.5.0 Its obviously changed since earlier relases, but not documented or tested very well. Link to comment Share on other sites More sharing options...
Yuriy Plakosh Posted March 25, 2012 Share Posted March 25, 2012 The problem is already fixed.It will be shipped in next release.The following URI will be used to select adhoc folder: http://localhost:8080/jasperserver-pro/flow.html?_flowId=searchFlow&folderUri=/adhocPost Edited by yplakosh at 03/25/2012 12:50 Link to comment Share on other sites More sharing options...
tkavanagh Posted March 25, 2012 Share Posted March 25, 2012 And the next release should be out around early May. Link to comment Share on other sites More sharing options...
Exie Posted March 25, 2012 Share Posted March 25, 2012 Awesome, thanks guys. I see 4.5.1 is out, any idea what the next one is ? I'll keep my eyes peeled. :) Link to comment Share on other sites More sharing options...
dmitry_dolnikov Posted July 24, 2014 Share Posted July 24, 2014 I'm not sure if it works on 4.51 (did not have change to check), but on 4.5 the default folder is managed by the cookie named lastFolderUri. It is checked and set in the repository.search.components.js, Folder panel object code in these places: this._uri = storedUri && storedUri.length > 0 ? storedUri : "/"; //here you could put your folder to open by default when cookie is not set and this.tree.observe('node:selected', function(event) { this._uri = event.memo.node.param.uri; new JSCookie(this._cookieName, this._uri); // to force your folder you could change it to new JSCookie(this._cookieName, "/YourFolderID"); With such changes you still would be able to navigate through the tree, but the repository would open on the same folder every time you go to /flow.html?_flowId=searchFlow hopefully this helps Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now