Search found 6 matches

by Lutz
Fri Oct 12, 2018 7:19 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Access repository from wiki page
Replies: 2
Views: 921

Re: Access repository from wiki page

This code has helped me a lot, the authentication window is gone.

Thank you very much.
by Lutz
Tue Oct 09, 2018 12:09 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Access repository from wiki page
Replies: 2
Views: 921

Access repository from wiki page

Hello I'm writing some wiki/velocity code. I want to access the local svn repository to display a picture which is stored in it. The typical URL is: http://polarion-server/repo/project/..../picture.jpg I insert html code like this: <img src="${url}" style="max-height: 400px; max-width...
by Lutz
Thu Mar 08, 2018 12:29 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Change Enumeration
Replies: 2
Views: 1585

Re: Change Enumeration

A little bit more code. I use the following code to write the xml file: // Create Location for new file Location target = (Location)Location.getLocation(path); // Open Transaction with write access transactionService.beginTx(); IRepositoryConnection connection = this.repositoryService.getConnection(...
by Lutz
Wed Mar 07, 2018 7:22 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Change Enumeration
Replies: 2
Views: 1585

Change Enumeration

Hi I want to change an enumeration. I used repositoryservice to load the xml file. After that I modified the file and used repositoryservice to store the file back. The problem is transactionservice.commitTx() crashes at a point I don't have any sources. The strange thing is the change is commited t...
by Lutz
Wed Sep 07, 2016 9:56 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Get workitems from document
Replies: 0
Views: 7689

Get workitems from document

Hello I have the name (or ID) of a document. I also have the revision of the document. How can I get a list of all workitems which are stored inside the defined revision of the document within a velocity script? My Problem is that I don't know how to use getModule because I don't know how to generat...
by Lutz
Fri Jul 22, 2016 11:26 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Change Custom Field
Replies: 1
Views: 8021

Change Custom Field

Hello I want to change a custom field of a workitem inside of a wiki page with apache velocity. I get the list with the workitems with the following coder: #set($query = $trackerService.queryWorkItems("type:$itemType AND project.id:$page.space.projectId", "id")) #foreach ($item i...

Go to advanced search