Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] Publishing - How exactly do you create and save snippets in Document Studio?

 Hello!


The documentation clearly states that you should be able to add snippets from the palette into a document template [1], and that there should be a section called 'snippets'.

The documentation also states that it's possible to add custom snippets to that palette section [2], but no information is given about where I actually have to save snippets in order for them to appear in the palette. The snippets section is not even visible over here.

Could anyone provide some insights on this?

Thanks, Jonas.

0 votes


The question has been closed for the following reason: "The question is answered, right answer was accepted" by rschoon Sep 22 '23, 5:58 a.m.

Accepted answer

Permanent link
Hi Jonas,
You will see the snippets in Palette view of Studio in both cases:
1. When Studio is not integrated with Document Builder
Place the snippets (reusable .dta files) within %rpe_home%\snippets folder. Restart Studio or click File->New->Document Template. You will find them in Palette view.
Note: If you place the snippet in a folder within %rpe_home%\snippets, it will not be shown in Palette view. There is a defect created for the same.
2. When Studio is integrated with Document Builder. In Preferences -> Remote Services, set the URL (https://<server>:<port>/rpeng), User and Password.
In Document Builder, upload snippet (Templates) and tag it as snippet-<name> as documented in
https://www.ibm.com/support/knowledgecenter/SS6RHZ_7.0.2/com.ibm.rational.pe.publishing.doc/topics/t_rpeng_snippet.html#connectingtothecentralmanagementcomponent
You will find it in Palette view of Studio.
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

I suggest changing the setting "Enable Palette Drawers" to "No" in Preferences->Document Design.


One other answer

Permanent link
 Hi Jonas,
You will see the snippets in Palette view of Studio in both cases:
1. When Studio is not integrated with Document Builder
Place the snippets (reusable .dta files) within %rpe_home%\snippets folder. Restart Studio or click File->New->Document Template. You will find them in Palette view.
Note: If you place the snippet in a folder within %rpe_home%\snippets, it will not be shown in Palette view. There is a defect created for the same.
2. When Studio is integrated with Document Builder. In Preferences -> Remote Services, set the URL (https://<server>:<port>/rpeng), User and Password.
In Document Builder, upload snippet (Templates) and tag it as snippet-<name> as documented in
https://www.ibm.com/support/knowledgecenter/SS6RHZ_7.0.2/com.ibm.rational.pe.publishing.doc/topics/t_rpeng_snippet.html#connectingtothecentralmanagementcomponent happy wheels
You will find it in Palette view of Studio.

Thank you I will give it a look

0 votes

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,015

Question asked: Mar 05 '21, 11:16 a.m.

Question was seen: 1,732 times

Last updated: Sep 22 '23, 5:58 a.m.

Confirmation Cancel Confirm