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

Description
RebeccaW
Posts: 5
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: 50
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 2012,
Polarion-JIRA Connector to JIRA 7.x

RebeccaW
Posts: 5
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

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

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

Postby RebeccaW » Wed May 09, 2018 11:55 am

hi again,
I am sry, but I have to ask again.
We have upgraded Polarion to version 17.3 and every default page ist gone.
Does anyone know where the new loaction of the default MyPolarion page is?

hope someone can help me.

regards
Rebecca

smarty
Posts: 50
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 » Wed May 09, 2018 1:47 pm

Hello Rebecca
I have not updated yet.
But you can look up the build no. on your installation through the cog wheel menu in the upper left corner. It shows the license details, release etc.
The current release ALM 18 has build no. 3.18.0.20180313-2239,
so I can only guess from the numbering pattern, that the path in your release ALM 17 SR 3 should be
%POLARION_HOME%\polarion\plugins\com.polarion.alm.tracker_3.17.3\configuration\My Polarion\page.xml

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

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

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

Postby RebeccaW » Fri Jun 01, 2018 8:36 am

Dear Martin,

thanks a lot. But it seems not to be the same position.
We tried it already but it seems not to work.

regards Rebecca

SaoBit
Posts: 7
Joined: Tue May 12, 2015 8:02 am

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

Postby SaoBit » Fri Jun 01, 2018 9:38 am

Hello Rebecca,

the path is correct. Just navigate to your polarion folder, then to polarion/plugins and search for the only folder named com.polarion.alm.tracker_<version-number>.

There is a folder configuration/My Polarion with the file page.xml. Despite the version number nothing has changed.

When you change the default page, this will affect only newly created users after the change!

WARNING: Working in the SVN repository directly is not recommended and I am sure, Polarion/Siemens dont support that:
To replace the My Polarion page for every user you can customize yours, then checkout the folder .polarion/user-management/users from the repository and replace the field homePageContent in every user.xml file with your settings. Do not replace the whole file!
Finally checkin the changes.


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 5 guests