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

DOORS 9.7.2.3 issue with richTextWithOle function

 Hello All,.

I am facing an issue when using the richTextWithOle function, I am always getting error: "incorrect arguments for function".
I have found in the release notes for 9.7.2.3 that it was fixed, but I am still getting the error. Also I couldn't find the solution for this issue. It blocks me to move to the new version of DOORS, we are currently using 9.6.1.11.
note: the same code is working fine in 9.6.1.11.
If you have any idea how to fix this problem, could you please share the same.


Thank you,
Sunil

0 votes


Accepted answer

Permanent link
richTextWithOle() is used to obtain either the RTF of an attribute value, including any OLEs, or the same for a specific column. There are two valid variants:

"string richTextWithOle(Attr__)"
"string richTextWithOle(Column,Object)"

The message suggests you are trying to pass a parameter which does not match these definitions.

The "Attr__" type should be in the form "Object.string" where the string is the attribute name e.g.

Object o = current
string s = richTextWithOle (o."Object Text")

Regards,
Stuart.

Sunil Kumar selected this answer as the correct answer

1 vote

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
× 343
× 29

Question asked: Feb 06 '24, 8:19 a.m.

Question was seen: 401 times

Last updated: Feb 06 '24, 9:49 a.m.

Related questions
Confirmation Cancel Confirm