Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Displaying OLE object via layout DXL
Topic Summary:
Created On: 21-Mar-2007 10:10
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Pekka Mäkinen, on Wednesday, March 21, 2007 11:39 AM

Answer:
If the attribute for the specified object in the other module contains OLE Objects you can get those with the
richTextWithOle function. So you would replace the

sLookedUpValue = oMappedO.sOtherAttr

with

sLookedUpValue = richTextWithOle(oMappedO.sOtherAttr)

and then displayRich the resultint sLookedUpValue.

More on these functions in the DOORS DXL Help.
 21-Mar-2007 10:10
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

I have a small layout DXL script in module A which takes the value in attribute X and uses it to lookup an object in module B, displaying the contents of attribute Y.
This works fine unless attribute Y contains an OLE object.
Can I predetermine this and get it to also pass across the OLE object?

Incidentially, I DID suggest to my user that they could just link to the second module, but they want to be able to update the contents of the layout DXL column on the fly by changing the value in attribute X.

Oh, I'm using DOORS v7.1.

Any suggestions gratefully accepted.
Report this to a Moderator Report this to a Moderator
 21-Mar-2007 10:29
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

Answer Answer
If the attribute for the specified object in the other module contains OLE Objects you can get those with the
richTextWithOle function. So you would replace the

sLookedUpValue = oMappedO.sOtherAttr

with

sLookedUpValue = richTextWithOle(oMappedO.sOtherAttr)

and then displayRich the resultint sLookedUpValue.

More on these functions in the DOORS DXL Help.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 21-Mar-2007 11:39
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Excellent, that's what I needed.Thanks
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.