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: Doors & Excel OLE Automation - Layout DXL info not available immediately
Topic Summary: Issue with Excel OLE Automation Export of View with Layout DXL Columns
Created On: 8-Jun-2007 09:28
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.
 8-Jun-2007 09:28
User is offline View Users Profile Print this message


Simon Ajina

Posts: 2
Joined: 11-Sep-2006

It appears that a Layout DXL Column in a view that would fetch information from other module(s) is not being fully populated by the time when control is returned to the DXL script that loads the view.

Is there a way in DXL to check if a view with Layout DXL columns is fully loaded and complete ?

If not, is there a way in DXL to put a sleep or pause waiting for the view to fully load ?

Regards

Simon Ajina
Report this to a Moderator Report this to a Moderator
 8-Jun-2007 11:35
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Simon,

AFAIK layout DXL is executed on request, so every time the display of module is actualized.
I mean when the module window is drawn.

So when you want want to export content of LDXL column you need to use one of the following functions:

string richText(Column,Object)
string richTextNoOle(Column,Object)
string richTextWithOle(Column,Object)
string text(Column,Object)

to acces the evaluated value of LDXL script.
I think the code will be evaluated on calling these functions. So you can control yourself, when you want to have it.

Hope that helps you.

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 8-Jun-2007 16:39
User is offline View Users Profile Print this message


Simon Ajina

Posts: 2
Joined: 11-Sep-2006

Many Thanks Reik for the quick feedback.

We are already using one of these interfaces. The one we use is text(column, object). It is not making the calculation for the first object in time so obviously the Layout DXL calculations are being done  asynchronously and not making the calculation there and then. It is only the first object that requires a specific linked module to be loaded that encounters the problem.

We are going to circumvent the problem by ensuring all linked modules are opened by the DXL code up front before we execute the DXL that exports the views with Layout DXL columns

Regards

Simon Ajina

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.