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
1 reply
Subscribers
7 subscribers
Views
998 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have two variables lets say var1 and var2. Both variables have multiple
skumar
over 10 years ago
I have two variables lets say var1 and var2. Both variables have multiple text values.
var1 consists of list of valid URLs for example: {"
http://google.com"
, "
https://facebook.com"
, "
http://yahoo.com"}
var2 consists of list of labels for example: {"Google", "Facebook", "Yahoo"}
How do I use fn!apply in order to get a list of safeLinks out of these two variables.
Thanks,
Sandeep...
OriginalPostID-122916
OriginalPostID-122916
Discussion posts and replies are publicly visible
Parents
0
mahipalc
over 10 years ago
Hi skumar,
You can try this way:
a!formLayout(
firstColumnContents:{
a!linkField(
links: apply(
a!safelink(
label: _,
link: _
),
merge(
{"google","Yahoo"},
{"google.com","yahoo.com"}
)
)
)
}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mahipalc
over 10 years ago
Hi skumar,
You can try this way:
a!formLayout(
firstColumnContents:{
a!linkField(
links: apply(
a!safelink(
label: _,
link: _
),
merge(
{"google","Yahoo"},
{"google.com","yahoo.com"}
)
)
)
}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data