Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sebastian Schmidt

Pages: [1]
1
Thanks for your anwsers,

you were right, it was a rights management problem with the windows machine. I'm now able to write to the desktop, which is fine.

Kind regards,
Sebastian

2
Hi all,

i'd like to write some information to a simple text file using JScript, copied from the CSV example:

//      fileName="C:\test.txt";
//      fileName="C:\\test.txtl";
//      fileName="C:/test.txt";
fileName="C://test.txt";
var fsObject = new ActiveXObject( "Scripting.FileSystemObject")
exportFile = fsObject.CreateTextFile( fileName, true );
exportFile.WriteLine( "--hello world --" );

I get either "Path not found" or "access denied" with these variants.

Hints on what I'm doing wrong? Exporting Artifacts to the file system from the EA GUI is not a problem.

Kind regards,
Sebastian

3
Thanks for your reply,

I'm currently happy with calling a Script by hand which transports my Tagged values and other information to the places where I want to have them. Then the transformation will consider them in the right way.

Kind Regards,
Sebastian

4
Hi All,

in my transformation template I would like to get access to the tagged values of the datatype of an attribute.

Let's assume the tagged value is named "tagged_value".

Getting the tagged value of the attribute itself is easy:

%attTag:"tagged_value"%

But how do I get a tagged value of the datatype of that attribute?
In an object oriented programming language, you would write something like

%attType.attTag:"tagged_value"%

But that does not work, as attType isn't an object but just a string...

Any hints? Is there a way to call custom JScript code from the templates? That could be helpful here.

Kind regards,
Sebastian

Pages: [1]