How to show document properties in the side bar by default?

Description
yongpyojang
Posts: 9
Joined: Fri Feb 22, 2019 2:32 am

How to show document properties in the side bar by default?

Postby yongpyojang » Thu Mar 14, 2019 1:32 pm

Hi, there

I made a URL that shows document with signature side bar expanded as following screen shot.
The URL ( ex. ~project/elibrary/wiki/Specification/Administration%20Specification?sidebar=signatures&status=draft&mySignatures=true ) would be included in the html formed email to inform that some document needed to be signed by someone.
docsidebarsignature.png
docsidebarsignature.png (163.16 KiB) Viewed 60 times


My client wants to show the document properties side bar expanded by default when he clicks the URL in the email, however I have no idea to do it by URL because there is no argument for it as following screen shot.
docproperty.PNG
docproperty.PNG (108.1 KiB) Viewed 60 times


Do you have any idea for this?
Thank you in advance.

Regards,
Yongpyo Jang

Jürgen
Posts: 66
Joined: Tue Sep 12, 2017 1:02 pm

Re: How to show document properties in the side bar by default?

Postby Jürgen » Thu Mar 14, 2019 4:08 pm

Well, I can't tell you for document properties, but with trial and error I managed to use the following statements in the address line:

?sidebar=attachments
?sidebar=comments

Maybe for the others you just have to guess the right name.

yongpyojang
Posts: 9
Joined: Fri Feb 22, 2019 2:32 am

Re: How to show document properties in the side bar by default?

Postby yongpyojang » Fri Mar 15, 2019 3:07 am

Jürgen wrote:Well, I can't tell you for document properties, but with trial and error I managed to use the following statements in the address line:

?sidebar=attachments
?sidebar=comments

Maybe for the others you just have to guess the right name.


What a brilliant idea!
I tried as you indicated and I found out two more arguments as follows;
- ?sidebar=document
- ?sidebar=toc

Thank you Jürgen.
Regards,
Yongpyo Jang

SteffPoint
Posts: 55
Joined: Wed Mar 07, 2018 1:06 pm

Re: How to show document properties in the side bar by default?

Postby SteffPoint » Fri Mar 15, 2019 6:53 am

Interesting topic! Is there also any argument for the rest of the possibilities?

I am for example interested in showing the "Recycle Bin" by default :D

It would be nice to generate a list showing all possibilities (arguments).

Jürgen
Posts: 66
Joined: Tue Sep 12, 2017 1:02 pm

Re: How to show document properties in the side bar by default?

Postby Jürgen » Mon Mar 18, 2019 1:49 pm

I took a look into the manifest file and there the following entries are named:
- com.polarion.alm.shared.dle.sidebar.approvals,
- com.polarion.alm.shared. dle.sidebar.attachments,
- com.polarion.alm.shared.dle.sidebar.comments,
- com.polarion.alm.shared.dle.sidebar.document,
- com.polarion.alm.shared. dle.sidebar.planning,
- com.polarion.alm.shared.dle.sidebar.signatures,
- com.polarion.alm.shared.dle.sidebar.testrun,
- com.polarion.alm.shared.dle.sidebar.toc,
- com.polarion.alm.shared.dle.sidebar.unreferenced,
- com.polarion.alm.shared.dle.sidebar.wi,

This leads to the following list of keywords (GUI order):
comments = comments
work item properties = wi
recycle bin = unreferenced
signatures = signatures
document properties = document
document outline = toc
attachments = attachments
approvals = approvals
test run planning = testrun
planning = planning

They all work, except wi. There are other files which indicate that "wi" should be correct, but it is ignored. Also "workitem" and "workitems" don't work.

SteffPoint
Posts: 55
Joined: Wed Mar 07, 2018 1:06 pm

Re: How to show document properties in the side bar by default?

Postby SteffPoint » Mon Mar 18, 2019 2:49 pm

Thank you very much Jürgen! Great job! :)


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 9 guests