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

How to get attribute value in header/footer in RPE template

Hi All,

I am getting custom attribute value in template but i want  attribute values in Header/footer.
Can you show me how to get attribute values in header/footer?

0 votes


Accepted answer

Permanent link

You cannot use the attributes directly in Header/Footer. You can assign attribute value to RPE variable and use that variable in Header/Footer.

Rima Kumari selected this answer as the correct answer

2 votes

Comments
Thank for your quick response.
Yes, I have assigned variable in edit assignment and then using that variable in Header/footer.
But then also attribute value is not coming in header/footer.

Should be some issue with assigning value to variable. Can you set default value to the variable and see if that gets printed in header/footer?


Yes, I have checked with default value also, default value is printing but attribute value is not coming. 


I have attached Scrrenshot

Sorry, i am not able to attach screenshot here

Thank you so much.

Its working fine..

So what was the issue, then?

showing 5 of 7 show 2 more comments

4 other answers

Permanent link
Hi Rima,

If the attribute is not showing in the header/footer you need to debug the assignment.

With Prasad's suggestion you have already debugged that the variable is printing in the header OK.

Is the attribute a text attribute?

Assign it to the variable and see if you can just print the variable in a text element.

If it is being assigned inside a an artifact container loop then try just assigning it once at the beginning of the template outside any artifact loop container and see if it is working just for debugging purposes.

1 vote

Comments
Thank you so much.
Its working fine..


Permanent link

 You cannot use schema attributes in master pages. Hence, store the module attribute in a RPE variable at the beginning of the templates. Use the variable in the master page to print in header / footer.


0 votes


Permanent link

 In the event that at all your computer framework is said to encounter various digital dangers and infection assaults, at that point you should protect the gadgets against them by utilizing a viable kind of hostile to infection programming. This is the place McAfee stands separated from the horde of security programming applications made to give the genuinely necessary wellbeing principles to your computer.

<o:p>   </o:p> Visit website  :-  mcafee.com/activate

-1 votes


Permanent link

At Kodehash, we're more than just a mobile application development company - we're your partners in growth. We blend innovation with creativity to create digital solutions that perfectly match your business needs.

-1 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

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

Question asked: Apr 15 '20, 2:20 a.m.

Question was seen: 2,077 times

Last updated: Aug 28, 11:13 a.m.

Confirmation Cancel Confirm