create a default view for the "MyPolarion" page for every user

Description
RebeccaW
Posts: 3
Joined: Wed Sep 06, 2017 9:29 am

create a default view for the "MyPolarion" page for every user

Postby RebeccaW » Wed Sep 06, 2017 10:11 am

Hello,

I have to create a default view for the "MyPolarion" page.
Now I searched very long to get the position of the already existing default page but I could not find it.
Does anyone know where I should find it?

Of course it is also possbile to create for each user a page, but I got a view hundred user :(

hope someone can help me.

Rebecca

smarty
Posts: 37
Joined: Fri Jan 18, 2013 4:43 pm
Location: Germany / Frankfurt
Contact:

Re: create a default view for the "MyPolarion" page for every user

Postby smarty » Fri Sep 08, 2017 4:27 pm

Hello Rebecca,

the My Polarion page is created from a template under the plugins directory on the server, which cannot be seen in the repo browser or admin views. Paths depend on your Polarion version: 3.10.2 = 2016 SR2

For classic wiki pages it is located in
%POLARION_HOME%\polarion\plugins\com.polarion.alm.wiki_3.10.2\src\main\webapp\templates\Reports\MyPolarion.xml
Copy your custom version source code from the wiki editor and replace in above template file the content of the tag

Code: Select all

<content><![CDATA[
.......
]]</content>

The Live Page template is in
%POLARION_HOME%\polarion\plugins\com.polarion.alm.tracker_3.10.2\configuration\My Polarion\page.xml
  • Create your custom version as a LivePage
  • download the source code file from the repo browser (some path like .polarion/pages/spaces/SpaceName/LivePageName/page.xml )
  • replace in above template file the content of the tag

Code: Select all

<field id="homePageContent" text-type="text/html"><![CDATA[
.......
]]></field>

For all new users the new page will be the "default".
But there is a limitation for replacing the default My Polarion page by your custom version for all users:
if a user had edited the default page, his indiviual page was created in the repo path

Code: Select all

/.polarion/user-management/users/[UserId]/user.xml
and will not be overloaded with your custom template MyPolarion.xml

Due to the version dependent plugin paths you would need to replace the Polarion default template files again after an update installation.

Regards, Martin
My environment: Polarion ALM 2016 SR2 on Windows Server 2008,
Polarion-JIRA Connector to JIRA 7.x

RebeccaW
Posts: 3
Joined: Wed Sep 06, 2017 9:29 am

Re: create a default view for the "MyPolarion" page for every user

Postby RebeccaW » Tue Sep 12, 2017 8:44 am

Hello Martin,

thanks a lot. I found it.

regards
Rebecca


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: Google [Bot] and 2 guests