Zum Hauptinhalt gehen

RefName Equals Rule for FS_REFERENCE

Kommentare

5 Kommentare

  • Zendesk API User
    Author: StefanSchulz - 5/7/2021 12:14

    Hi Eric,

    I just checked this out. Unfortunately, there is no property at the moment to get hold of the reference name for a FS_REFERENCE component's selection.

    Feel free to open a feature discussion, as this would actually be a small change in FirstSpirit.

    Best regards

    Stefan

    0
  • Zendesk API User
    Author: ADR81SGP - 5/10/2021 7:02

    Hi Stefan,

    I was looking more for a different solution than a definite that it does not work. Any ideas? Thanks!

    0
  • Zendesk API User
    Author: StefanSchulz - 5/10/2021 8:39

    Hi Eric,

    Ok, stepping back from the technical question.

    What is the actual requirement you are trying to accomplish with the template reference? It seems strange to have a form / field displayed that a user actually should not edit.

    Best regards

    Stefan

    0
  • Zendesk API User
    Author: ADR81SGP - 5/10/2021 8:51

    Hi Stefan,

    indeed a valid point :smileygrin:. Let me go back: we are running a content-creating FSM on the server that is called by a GUI Script. The GUI Script is configurable in the sense that a user needs to select where the created content should be published to. Also we have templates that should be set.

    My idea was here: the user should select those templates to ensure the templates do in fact exist in the project. I know, I could just check that during FSM runtime, but I consider it easier understandable for the user to get immediate feedback when setting up the config instead of reading logs during runtime.

    But, maybe you have a more elegant solution? Thank you!

    0
  • Zendesk API User
    Author: StefanSchulz - 5/10/2021 9:23

    Hi Eric,

    Hm, it's still a bit confusing, to be honest. It surely would be possible, to programmatically check the existence of the templates from within the script (without a form) and display a notification (or maybe a form), in case one or more of those templates do not exist.

    As I said, this is not possible with a rule. But in a script, you can always also validate the selection after the dialog is confirmed. I agree, though, that this is not the best UX to have multiple dialogs.

    Not sure, if this helps in any way. Maybe someone else in the community comes up with a better idea.

    Best regards

    Stefan

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.