Author Topic: Can I update folder properties via an App ?  (Read 98 times)

Jean-Maetso

  • New Members
  • *
  • Posts: 20
Can I update folder properties via an App ?
« on: February 15, 2021, 09:52:33 AM »
Hi everybody,
I would like to update some properties of a folder via an App. For instance the following algorithm:
 
Code: [Select]
IF some_specific_condition THEN
      folder.description = folder.name+' (checked)'
 ELSE
      folder.description = folder.name

I may want to use the 'friendlyName' property of the folder as well.

However, I did not see any POST(v1/folders...) method.
So is it possible to set some properties for a folder object?

Thanks
JM

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 27441
Re: Can I update folder properties via an App ?
« Reply #1 on: February 15, 2021, 10:14:02 AM »
Sorry, the friendly name or color-coding or thumbnails of folders cannot be modified by external apps at this time.

Jean-Maetso

  • New Members
  • *
  • Posts: 20
Re: Can I update folder properties via an App ?
« Reply #2 on: February 15, 2021, 12:18:10 PM »
Aarghhh... that's what I feared  :(
Even more frustrated that I see this as a drawback from the older times of IMatch scripting where this was feasible (I did it in the past). But, yes, this was long ago, maybe IMatch 5 or even before (?)...Hope such feature will come back in the future. Folder description and folder friendly names can be very useful when you are dealing with frequent evolutions in your DB and you do not want to change folder structure/names. Putting information in description or friendly names is a nice feature that I use quite often.

Thanks Mario !

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 27441
Re: Can I update folder properties via an App ?
« Reply #3 on: February 15, 2021, 01:00:44 PM »
Feel free to add a feature request in the appropriate board. This ensures that your request remains visible and on my list. And it allows other users to +1 it.
Changing the folder description or friendly name has never been requested AFAIK - and this feature was removed when I swapped Basic Scripting to IMWS-based app development many years ago...
Adding an endpoint which does this is a couple of hours of work, tops.

The current state of the IMWS API has been stable for quite a while. I enhance it when I need something for a new feature.
Frankly, there are a lot less users who create their own apps these days. IMatch can do a lot more than IMatch 3 could. And newer user generations are (apparently) not that used to developing scripts or small apps.

Judging by the number of development-related questions in this community and the page views of the IMatch Developer Center and documentation, any kind of investment (aka my time) in API enhancements, documentation etc. must be very carefully judged. It just makes not much sense to spend time on this when only a handful or so users will ever have a use for it. Better to spend time on things half of the user base benefits from.
« Last Edit: February 15, 2021, 01:14:22 PM by Mario »

Jean-Maetso

  • New Members
  • *
  • Posts: 20
Re: Can I update folder properties via an App ?
« Reply #4 on: February 15, 2021, 02:20:19 PM »
+1 Mario
Thanks