how to go to a specific folder directly from jasper server community edition main menu bar custom menu item - jasperserver

I added new menu for main menu bar in Jasper Server Community Edition.then I want to set a direct link for my custom folders in that custom menu items.
When I go to two folders URL is same for both.It is also equal to Repository URL that I shown below as common url.
common url is :-
http://localhost:8080/jasperserver/flow.html?_flowId=searchFlow
How can I find folder specific url in jasper server?

Although not documented, the samples in the Repository HTTP API use the folderUri URL parameter for navigating inside repository folders:
http://<host>:<port>/<context>/flow.html?_flowId=searchFlow&folderUri=/public/Samples/Reports
I have tried this in latest JasperReports Server(v7.1) and it works properly.
One important thing I have noticed is that the value for this parameter is case-sensitive. You could obtain the right value by performing these steps:
Right-click the Repository folder for which you need the path
Select the Properties... option
Copy the Path value from the pop-up dialog

Related

Remove personal template from Visio (plan2)?

Does anyone know how to remove previously added personal template form Visio (plan2)? It seems this is not as straightforward as I would expect...
Many thanks.
Please check in File location window field Templates. You can call this window with these steps
Select tab File at ribbon
Select Options in bottom of list
Select Advanced
Select File locations in bottom of list
Please check: Is your unwanted document located in folder which you can find in Templates field in File locations window ?
I did some additional research to find out that while adding .vtpx template, visio converts it to .vstx and stores it (in my case) in Custom Office Templates folder.
All I had to do is remove the corresponding .vstx from that folder and the template disappeared form Personal Templates tab.
Not sure if Custom Office Templates is the default location in all cases, so better search for your [templatename].vstx on your drive.
Credit for idea goes to #Surrogate who hinted that you could define folder for templates. Thanks!

Getting RTC stream name from Project explorer or Navigator

Is there any API or way in which we can get the RTC stream name from the Project explorer or Navigator view selection in eclipse.
I am creating a RTC util which needs some basic inputs like stream name or project (that user select on navigator), which in turn communicates with RTC in doing our project related activies.
Project explorer / Navigator shows the users local repository name, but i am unable go get those, these two views provide the file as IFile or IResource(IFolder, IProject.. etc) or ICompliationUnits.
which gives only the path of the file.
So Is there anyway where i can get those stream name from those project/file that user select.
Thanks in advance.
I finally found with little exploration. here it goes.
Once the Project (created) or loaded throught RTC,
Projects get the additionals details added to its lable, like RTC component and Respository they came from.
Since the Project explorer view is a tree viewer, cast the selection to TreeSelection and using the getText() method, get the complete display name of that tree item.
Which by parsing gives the user repository name.
Using that as a repository name, query the RTC for user "WORKSPACE" and get the user repository connection and get its flow target (both delivery and accept), which is mostly where there user repository created from.
And this solves my probelm as i want only the current delivery flowtarget (no matter where the user repository created from).
get the source repository of the

Not able to see content in content finder in CQ5

I have imported images and videos inside CQ5 repository. I am able to see all of them inside DAM(digital asset management) but when i am creating a page using already defined templates and components , I am not able to see them(images and videos) in the content finder menu.
Which version are you running? I've seen this issue with CQ5.4 with the MSM feature pack. A similar issue affects some browsers in CQ5.5 with update 1.
Otherwise, I'd check the error logs as mentioned in the comments. Look for DAM workflow failures or similar such errors.
When you open page with content finder see which call is loading images.
For example here in mentioned link assets are loaded from /content/dam/assets path.
http://localhost:4502/bin/wcm/contentfinder/asset/view.json/content/dam/assets?_dc=1466163645234&query=&mimeType=image&charset=utf-8
How to get this url
Open page in chrome
Enable "Network" view
Click on refresh icon in content finder

GWT Browse files/directories

Here is my requirement:
In my application, I want to get a path of file from user and process the file accordingly.
I am providing a text box in which user can directly enter the path.
Or user can opt to choose a file by clicking on Browse button and selecting a file.
Which widget shall I use to browse local files and directories?
I found one widget called FileUpload but whenever I get the fileName by fileUpload.getFileName, it does not give me the whole path.
You don't need the whole path.
Please see the links below.
The first link covers the client side and the second one the servlet side.
http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload
http://commons.apache.org/fileupload/using.html

Word 2010 : Automatically populate Backstage tab from Folder

We're about to move from Office 2000 to 2010 and are looking at how best to provide our templates to users.
What I want to do is replace the Office.com templates with our own.
Looking at the documentation and Technet blogs I see that we can either create or amend the tabs in the Backstage view, but I am trying to find out if we can do this in a relatively hands-off manner.
Our templates are stored on a network server, with subfolders grouping similar templates. Whilst we could point Workgroup templates at the root folder and get the My Templates dialog, this feels like a step back.
1) Can we create a backstage tab (or replace the New tab)
2) Can we set this tab up to automatically display the templates that are in the folder and use the subfolders to sort the templates? Such that if a new template is added to a folder we do not need to roll out a new version of the backstage
Of course the Office 2010 File New Backstage is not very appropriate for a corporate environment.
To disable the "Templates from Office.com" you can use a Windows Group Policy (the option is named "Disable template downloads from the client and from Office.com").
However, you'll find in the File New Backstage still the entry for "Sample Templates". These templates cannot be uninstalled. Find detailed information on this page on the Word MVPS site.
Your question 1:
Yes, you can create a new Backstage Tab, or hide the Word File New tab (you'll need both) throug an add-in.
Your question 2:
If you want to mimic the Pre-Office 2007 FileNew dialogs, you must also recurr to an add-in which does exactly what you need. For example, read the files from a network share and display them in the Backstage view. However, the File New replacements I've developed in the last years did recurr to a configuration file, because you have the possbility to display additional information for the users, e.g. about the use of the template, or about differences (between "Legal Opinion small" and "Legal Opinion large" etc.). Administration of a config file is also "hands-on" without problems.
At least in Word there is one other option:
On the Quick access toolbar you can put another "New from Template" icon (I don't know what it is exactly called anymore, but it is there in the selection of icon from Microsoft) which opens up straight the Pop up window with all your templates without going trough the ridiculous long winded process via the Backstage.