Ecrion Software Inc. Homepage
Forum Home Forum Home > Data Aggregation Server > Generic Support
  New Posts New Posts RSS Feed: Passing a parameter to DAX file
  FAQ FAQ  Forum Search   Register Register  Login Login

Passing a parameter to DAX file

 Post Reply Post Reply
Author
Message / View First Unread Post
justinw View Drop Down
Admin Group
Admin Group
Avatar

Joined: 08 Dec 2011
Posts: 197
Post Options Post Options   Quote justinw Quote  Post ReplyReply Direct Link To This Post Topic: Passing a parameter to DAX file
    Posted: 12 Mar 2012 at 2:41pm
Q:  I want to pass a parameter to a Data Architect diagram (DAX file).  How can accomplish this?

A:  You can use the Ecrion.DAS.Diagram.JobProperties.

It would look something like this: 
JobParameters param = new JobParameters(); 

Where the 33 value is the object id that we will override the value of, which can be the return value of a constant. 

By default, a constant can have a value of, let’s say 1 for example.
The 3 value is the value which will passed to DAX and override the 1 value.

//passing the JopProperty parameters 
param.JobPropertyList.Add(new JobProperty("33", "value", "3")); 

For more assistance, see the Data Aggregation Server help index here:

See also:


Edited by justinw - 23 Mar 2012 at 12:07pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.055 seconds.