Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unbeantwortet
Feststellen in welchem Status sich der Dialog befindet?


Hi Swen,

du kannst mit jr_get_value('jr-mode') herausfinden, ob der Dialog bearbeitbar ist oder nicht.
Ist die Rückgabe 1, ist er bearbeitbar, ist sie 0, dann nicht.
jr-mode ist ein verstecktes Feld, das immer existiert.
Wenn ich custum buttons einblende, aber nicht will, dass diese z.B. in der "Bearbeitet"-Inbox sichtbar sind, mache ich das so:

const stepIsEditable = jr_get_value('jr-mode');
if(stepIsEditable) {
	showCustomButtons();
}

Hoffe das hilft!

VG
Jan

  
  
Gepostet vor 18 Tagen
Jan Zimmerbeutel
272 × 4 Administrator
  
  

file

Das klappt leider nicht bei mir mir (Version 2025.1). Das versteckte Feld scheint nicht zu existieren. "jr-mode" kann ich auch im Source nicht finden. Erzeugst du das hidden-field?

Swen Niehaus   vor 18 Tagen Melden
57 Ansichten
0 Antworten
vor 18 Tagen
vor 18 Tagen