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")
Escape special characters +-&|!(){}[]^"~*?:\ - 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
 
Answered
How do I check whether the user has access to an extension?

Need to hide/show icons/tiles based on the user rights. The extension can be a wedge form or sdk extension.

Do I need to use ?
tecton.sources.isNavigable(featureName: string, moduleName?: string): Promise<boolean>

Posted 3 years ago
Votes Newest

Answers 2


Hello Subha,
In the navigation, and whether a user can go to a particular form is done via group access. To answer your question, yes you should be able to use isNavigable to determine if the current user can access a particular form and then you could navigate to that form with navigateTo.
-Trey

Posted 3 years ago
Trey Teter
124 × 2 Administrator
0

Thanks Trey.

tecton.actions.navigateTo('dynamicForm.show',['q2_cardswap']) opens the card swap but when I try

tecton.sources.isNavigable("dynamicForm.show", "q2_cardswap").then((isNavigable) => {
console.log("isNavigable for Card Swap")
console.log(isNavigable)
})

returns false. What am I doing wrong?

— Subha Jayabalan   3 years ago

tecton.sources.isNavigable didn't work for the form and wedge form extensions.

I ended up using
upd_params = UserPropertyData(self.logger, hq_credentials=self.hq_credentials)

Posted 2 years ago