INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MCWS: CreateField - Is it possible to use "Calculated Data"  (Read 3652 times)

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!

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
Logged
JRiver CEO Elect

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: MCWS: CreateField - Is it possible to use "Calculated Data"
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2616
Re: MCWS: CreateField - Is it possible to use "Calculated Data"
« Reply #2 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!
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10931
Re: MCWS: CreateField - Is it possible to use "Calculated Data"
« Reply #3 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.
Logged
~ nevcairiel
~ Author of LAV Filters

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2616
Re: MCWS: CreateField - Is it possible to use "Calculated Data"
« Reply #4 on: June 24, 2020, 03:35:15 pm »

:sadpanda:
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: MCWS: CreateField - Is it possible to use "Calculated Data"
« Reply #5 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 :)
Logged
JRiver CEO Elect
Pages: [1]   Go Up