[Mi...] Posted November 17 Share Posted November 17 (edited) Hi, is there a way to define a custom list keyword type in the SW2023 in the json file? I would like to offer the user more options for a keyword but do not want to allow free string in that field. For example nest of the injected part could be just only: A, B or C (no other choices). I mean a json like this (but it does not work so): { "content": { "": [ { "description": "Nest", "key": "nest", "type": "list", "value": ["A", "B", "C"] }, ... Thanks! Edited November 17 Link to comment Share on other sites More sharing options...
[Ma...] Posted November 17 Share Posted November 17 I think you can not modify this. But you can make your own dialog for headers to have more control over input. 1 Link to comment Share on other sites More sharing options...
[De...] Posted November 17 Share Posted November 17 I dont think you can make project keywords anything other than a string, date, or number. you could present the user with a dialog, and feed the result of that dialog into a project keyword? 1 Link to comment Share on other sites More sharing options...
[Mi...] Posted November 20 Author Share Posted November 20 Yes, but for that I have to do some Python exercises. At the moment I am not very practiced in that. But it seems that I have to get familiar with it... 🙂 Thank you! Link to comment Share on other sites More sharing options...
[Na...] Posted November 20 Share Posted November 20 If you are using the Kiosk interface, it's easy: You just have to drop a selection list and edit the entries. The Dialog is already part of the Kiosk: 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in