cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to read Metadata-custom-properties and write them in a textbox?

SOLVED
Highlighted
Newbie

How to read Metadata-custom-properties and write them in a textbox?

Hej,

little question, please.... i can´t find my question in the MC-help....

With the script of a textbox like this:

Sub TextBoxEvent_Exec(Inputs,Outputs)

TextBox.Text = Worksheet.Metadata.Revision

textbox.appearance=0

i can read the regular Metadata out of the FilePropertyWindow.

But what is the right expression for reading the entries in "CustomProperties" ?tt.jpg

Thanks for help.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to read Metadata-custom-properties and write them in a textbox?

Hej,

Thanks StuartBruff....

in my case:

textbox.text = worksheet.metadata.customitems.item(2) ' Darstellung 3. Eintrag in der "Benutzerdefinierten Dateieigenschaft"

additional help:

http://www.ptc.com/WCMS/files/129628/en/Mathcad_-_custom-controls13.pdf

View solution in original post

2 REPLIES 2
Highlighted

Re: How to read Metadata-custom-properties and write them in a textbox?

R. Lampert wrote:

Hej,

little question, please.... i can´t find my question in the MC-help....

With the script of a textbox like this:

Sub TextBoxEvent_Exec(Inputs,Outputs)

TextBox.Text = Worksheet.Metadata.Revision

textbox.appearance=0

i can read the regular Metadata out of the FilePropertyWindow.

But what is the right expression for reading the entries in "CustomProperties" ?

Thanks for help.


TextBox.Text = worksheet.metadata.customitems.count

Outputs(0).Value = TextBox.Text

Re: How to read Metadata-custom-properties and write them in a textbox?

Hej,

Thanks StuartBruff....

in my case:

textbox.text = worksheet.metadata.customitems.item(2) ' Darstellung 3. Eintrag in der "Benutzerdefinierten Dateieigenschaft"

additional help:

http://www.ptc.com/WCMS/files/129628/en/Mathcad_-_custom-controls13.pdf

View solution in original post

Announcements