Axon.ivy 7.0 - the Digital Business Platform - is out now...

Hi everyone, As i know that every role that are created by using Ivy Designer, its “isDynamic” property will be set to “False” as default. And we you the ivy script like this for example :“MyRole”, “DisplayNameOfMyRole”, “Description of MyRole”, true); We can set the “isDynamic” = true if we want .

Is there any API in Ivy that support us to get the “isDynamic” value ? just like in IRole API, you can use getDisplayName() to get the “DisplayNameTemplate” or getName() to get the “Name” of role

Thanks. alt text

asked 01.11 at 03:37

Khoi%20Phan's gravatar image

Khoi Phan
accept rate: 0%

edited 01.11 at 03:38

You can access it by using internal API. But it could change at any release without notice...

public class RoleUtil {

    public static Boolean isDynamic(IRole role)
        if (role instanceof
   internalRole = (;
        return null;


answered 03.11 at 04:12

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 69%

thanks for your suggestion

(12.11 at 21:04) Khoi Phan Khoi%20Phan's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 01.11 at 03:37

Seen: 53 times

Last updated: 12.11 at 21:04