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

How to validate a *required* attribute that has a default template?

We have an attribute which we have a default template for (for example, for a Story, we have a template which gives the creator an idea of what information/format the Story Description should be in.

We want to make that attribute Required from the stand point that not only does it have to have something *in* it, but it has to be different than the default template that we put it.

It looks like if we just make the attribute *required*, because it has the default template in it, RTC considers it "not empty" and we don't get an error.

I can write a validator to try to ensure that the contents != defaultTemplate ... but I don't want to have to just keep a copy/paste of the text and then have to update and redeploy the participant each time.

Is there a way to get the template text programmatically?

Susan

0 votes


Be the first one to answer this question!

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
× 10,926

Question asked: Jun 11 '14, 9:13 a.m.

Question was seen: 3,035 times

Last updated: Jun 11 '14, 9:13 a.m.

Confirmation Cancel Confirm