INTERACT FORUM

Windows => Plug-in Development => Topic started by: jmone on May 02, 2020, 08:05:00 pm

Title: MCWS: CreateField - Is it possible to use "Calculated Data"
Post by: jmone on May 02, 2020, 08:05:00 pm
I'd like to be able to use CreateField to make a new Library Field using "Calculated Data" as per this pic.  Is it possible to add this to the MCWS Call?  It would make it easier for SoT users on first install.
Thanks
Nathan
Title: Re: MCWS: CreateField - Is it possible to use "Calculated Data"
Post by: Matt on June 24, 2020, 10:55:05 am
Sure thing.

Next build:
NEW: Added the ability to create an expression based calculated field to Library/CreateField.
Title: Re: MCWS: CreateField - Is it possible to use "Calculated Data"
Post by: zybex on June 24, 2020, 02:13:13 pm
Hi Matt,
Can you also add this to IMJFieldAutomation API?

This API actually needs some extra functionality which I could use:
- isCalculated() to get field type
- GetExpression() to read calculated field expression
- SetExpression() to update calculated field expression

Thanks!
Title: Re: MCWS: CreateField - Is it possible to use "Calculated Data"
Post by: Hendrik on June 24, 2020, 03:34:05 pm
Changing the automation API is troublesome, we would rather push people towards using MCWS in the future.
Its cross-platform and far easier to extend.
Title: Re: MCWS: CreateField - Is it possible to use "Calculated Data"
Post by: zybex on June 24, 2020, 03:35:15 pm
:sadpanda:
Title: Re: MCWS: CreateField - Is it possible to use "Calculated Data"
Post by: jmone on July 01, 2020, 10:55:51 pm
Sure thing.

Next build:
NEW: Added the ability to create an expression based calculated field to Library/CreateField.

Thanks Matt :)