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
|
Accepted answer
![]()
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
|
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.