Search found 66 matches

by SteffPoint
Wed Jul 10, 2019 5:01 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Best practise to log from Wiki-Page
Replies: 1
Views: 70

Re: Best practise to log from Wiki-Page

Logging to Console works with following example: #set($lsid = "ls_12345") #set($reqid = "req_12345") <script type="text/javascript"> var lsid= "${lsid}"; var reqid= "${reqid}"; console.log(lsid + " was not set suspect by update of " + reqid...
by SteffPoint
Tue Jul 09, 2019 5:46 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Best practise to log from Wiki-Page
Replies: 1
Views: 70

Best practise to log from Wiki-Page

Hello, can you recommend any methods to log (to the Polarion LogFile or Webbrowser-Console) from a Polarion-Wiki Page (Velocity-Context)? In JavaScript-Context I am using: logger.info("string" + JSVar +"string") or post-save context: polarionLog.info("string" + JSVar +&...
by SteffPoint
Mon Jul 01, 2019 10:42 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Exporting Work Items via IExportManager
Replies: 2
Views: 139

Re: Exporting Work Items via IExportManager

Hello Jenny, I have created a Workflow-Script for exporting Work Items. Following lines from my script may be interesting to you: var project = "YOURPROJECTID"; var reqsToConsider = trackerService.queryWorkItems("project.id:YOURPROJECTID AND NOT type:heading", "id"); va...
by SteffPoint
Mon Jun 24, 2019 10:19 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Import from Confluence
Replies: 1
Views: 157

Re: Import from Confluence

Confluence Wiki has some specific markup including custom HTML-Tags, like: <ac:layout> <ac:layout-section ac:type="single"> <ac:layout-cell> ... A Polarion Wiki can read HTML-Code, but unfortunately won't understand the specific Wiki macro of Confluence. Maybe an iFrame provides a possible...
by SteffPoint
Tue May 21, 2019 12:19 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Change Icon of Custom Form Extension for Work Item View
Replies: 0
Views: 234

Change Icon of Custom Form Extension for Work Item View

Is there any possibility to change the standard Icon of a custom created form extension? For the development of the custom formextension the polarion example "com.polarion.example.formextension" was used. The development itself took place in Eclipse Jee. In the standard, it displays the &q...
by SteffPoint
Mon May 13, 2019 10:28 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: How to integrate JavaScript into Classic Wiki Page Markup
Replies: 2
Views: 877

Re: How to integrate JavaScript into Classic Wiki Page Markup

Sorry for my late response. I have just found out, that JavaScript Code in Classic Wiki Page context is only properly executed when setting it into {pre} CODE {/pre}.

Example:

Code: Select all

{pre}
<script type="text/javascript">
function xyz {
 do xyz
}
</script>
{/pre}
by SteffPoint
Mon May 13, 2019 8:02 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: automated PDF export
Replies: 1
Views: 1533

Re: automated PDF export

I recommend you to use the Scheduler of Polarion in the Global Administration. You can connect a Job to JavaScript or Groovy script (location: Polarion/scripts). In the JavaScript and Groovy context you can use the openapi of Polarion: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/index.html
by SteffPoint
Fri May 10, 2019 6:34 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Anchor links jumping to project home page
Replies: 2
Views: 1873

Re: Anchor links jumping to project home page

I am experiencing the same behaviour. That's why I recommend following alternative: You basically need two script blocks. The script block you want to jump from: <button onclick="myFunction()">Click me</button> <script> function myFunction() { document.querySelector('.hello').scrollIntoVie...
by SteffPoint
Fri May 10, 2019 6:30 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: LiveReport page - Anchor tags reloading same page
Replies: 2
Views: 208

Re: LiveReport page - Anchor tags reloading same page

I probably found an alternative with the JavaScript "scrollIntoView()" method for your demand. You basically need two script blocks. The script block you want to jump from: <button onclick="myFunction()">Click me</button> <script> function myFunction() { document.querySelector('....
by SteffPoint
Fri May 03, 2019 5:11 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Is there any way to exclude certain lines to be logged in the main log4j?
Replies: 1
Views: 334

Is there any way to exclude certain lines to be logged in the main log4j?

We experience a really quick size-climbing of our main Log-File of Polarion, so that we come up with the question, if it's possible to exclude certain things to be logged, such as every line including for example:

Code: Select all

"Render Widget for preview"



Kind Regards,
Steff
by SteffPoint
Wed Mar 27, 2019 1:43 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Hide / Disable certain predefined area in Document Properties Sidebar
Replies: 0
Views: 301

Hide / Disable certain predefined area in Document Properties Sidebar

Is there any way, how to hide or disable a certain predefined area in the Document Properties Sidebar?

I would like to hide / disable the "Word Round-trip Template" area in the Document Properties Sidebar (in the whole repository):

Image
by SteffPoint
Wed Mar 20, 2019 8:49 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: [SOLVED] Is it possible to get hostname in Velocity Template Language?
Replies: 5
Views: 516

Re: [SOLVED] Is it possible to get hostname in Velocity Template Language?

Hello Scharph,

this works perfectly! Thank you very much! :)


Kind Regards,
Steff
by SteffPoint
Tue Mar 19, 2019 1:25 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: [SOLVED] Is it possible to get hostname in Velocity Template Language?
Replies: 5
Views: 516

Re: Is it possible to get hostname in Velocity Template Language?

Thank you very much Jürgen, that already helps a lot.

Do you also know about such functionality on LiveReport Pages, just in case I will need this in future?

By now I am good with the Classic Wiki Page. Thanks again!
by SteffPoint
Mon Mar 18, 2019 11:42 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: [SOLVED] Is it possible to get hostname in Velocity Template Language?
Replies: 5
Views: 516

[SOLVED] Is it possible to get hostname in Velocity Template Language?

Hello guys,

is it possible to retrieve the hostname (for example: "www.polarionserverone.com") within Velocity script and assign it to a Variable?

As Velocity Code runs serverside I am a bit afraid it is not possible.

Kind Regards,
Steff

Go to advanced search