Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
9 subscribers
Views
3412 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, Is there a way to get the data store and data type objects associ
rachelz585
over 9 years ago
Hi,
Is there a way to get the data store and data type objects associated with an application? Assuming I have the application name and ID.
OriginalPostID-197126
OriginalPostID-197126
Discussion posts and replies are publicly visible
0
Sean Kim
Appian Employee
over 9 years ago
Hello, can you elaborate on what you mean by associated? You can add objects to applications and export them into a zip file. Note that data stores cannot be exported although reference to them will remain in the exported objects.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rachelz585
over 9 years ago
On a form, I want the user to choose and application, and then choose a data store entity (constant). So I will need a list of data store entity constants that have been created in that application. (for a dropdown)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pavithrac
over 9 years ago
Hi Rachel, there is no OOTB available for the required operation. If the requirement is just to capture user selection and is not dynamic, you can write an expression rule to get the job done.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
As the number of entities in your app will not change that often, why not just create a expression which returns a list of entities and meaningfull names for them. Then use this in your SAIL form for a drop down. Off course you can create a plugin to get this info.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rachelz585
over 9 years ago
yes.... how do I return the list of entities is the question
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
Something like this should do it
={entities: {cons!ENTITY1, cons!ENTITY2, ...}, names:{"Fancy name 1", "Fancy name 2", ...}}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@rachelz Hi, if your requirement is to get the objects associated with the Application object, developing a plugin could be a solution. Reviewing the code in 'Get Application Groups' Shared Component at https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5ycR0HHF-pz1a4_u_g4GxR-w6CWqzqXW1A/view/summary gives you a good kick start as per my knowledge. Because in this shared component gets the 'Group' type objects associated with Application object, and you might give a try to obtain a new type(Data Store Entities in your case) objects associated with Application. And this way always fetches you the objects dynamically(without need to updating the expression rule as specified in above comments), given an application id.
Further I can also confirm that there isn't OOTB or shared component to fulfill your requirement as per my knowledge. But I would personally prefer to do something like as suggested by @stefanh.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rachelz585
over 9 years ago
Yes it needs to be dynamic so I will take a look at the code you mentioned
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel