Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Verified Answer
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
7 subscribers
Views
13726 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Convert a text in a Dictionary List
jurim409
A Score Level 1
over 8 years ago
Hi,
I'm creating an interface where I load a local variable. This local variable is a cdt, so I use the function cast to convert it. I need to populate a field of this variable, so I build the following string:
{{Id:1},{Id:2},{Id:3}}.
Now I need to convert it in a dictionary, but it always return me an empty value.
I would like to know if you have some idea about it.
Thanks in advance.
OriginalPostID-250259
Discussion posts and replies are publicly visible
Parents
0
rajasekhard
over 8 years ago
Hi @jurim409,
From what I understand, you are trying to construct a CDT type local variable with default values for 'Id' column. Does the following code snippet work for you?
local!result_cdt: apply(
type!mycdt(
Id: _
),
{
fn!makerange(
9
)
}
)
Thanks
Raj
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rajasekhard
over 8 years ago
Hi @jurim409,
From what I understand, you are trying to construct a CDT type local variable with default values for 'Id' column. Does the following code snippet work for you?
local!result_cdt: apply(
type!mycdt(
Id: _
),
{
fn!makerange(
9
)
}
)
Thanks
Raj
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data