cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Regarding searching entities.

Bhanu_Manoj
9-Granite

Regarding searching entities.

Hi Team,

 

Is there any way to that I can get the list of all the project entities programatically?

 

Thanks and Regards,

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Bhanu_Manoj , 

 

you can use service.

 

Projects[projectname].GetEntities();

 

Regards

Ankur

  

View solution in original post

4 REPLIES 4

Hi @Bhanu_Manoj , 

 

you can use service.

 

Projects[projectname].GetEntities();

 

Regards

Ankur

  

Hi,

 

Thanks a lot for the reply. Is there any way to set permissions to an entity from services?

mgoel
17-Peridot
(To:Bhanu_Manoj)

@Bhanu_Manoj 

 

You can use setEntityPermission from snippet directly in query. It looks like:

 

let params = {
allow: undefined /* BOOLEAN */,
name: undefined /* STRING */,
includeDependents: undefined /* BOOLEAN */,
type: undefined /* STRING */,
projectName: undefined /* PROJECTNAME */,
tags: undefined /* TAGS */
};

// no return
Resources["EntityServices"].SetEntityPermission(params);

 

Regards,

Mohit

anarwal
12-Amethyst
(To:anarwal)

Hi @Bhanu_Manoj ,If my response has answered your question, please mark as Accepted Solution, for the benefit of others who may have the same question.

Top Tags