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
9 replies
Subscribers
9 subscribers
Views
3065 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I wanted to check if it's possible to parse a string for deli
nimishan
over 9 years ago
Hi,
I wanted to check if it's possible to parse a string for delimiter and create columns dynamically. If so? How do I achieve it?
Thanks in advance
Nimisha.
OriginalPostID-202123
OriginalPostID-202123
Discussion posts and replies are publicly visible
0
anshuk611
over 9 years ago
You can check parse CSV plugin
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
maheshbabuc
A Score Level 1
over 9 years ago
Hi .... Is that you having XML string that want to parse ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Your requirement is a little vague but it sounds like you're looking for the split() function:
forum.appian.com/.../Text_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nimishan
over 9 years ago
Hi,
Basically we have a grid view which was configured specific to our company, within that we have a table configured specifically for data view. Once an update is come from the service which will be a string with delimiters should be able add more columns to the table based on number of inputs and it should be dynamic.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
If it's a gridField then you can use apply() or applyComponents() to make the columns attribute of the gridField dynamic by applying a!gridTextColumn()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nimishan
over 9 years ago
Can you provide the sample code of creating a Grid for a given list of Columns?
The Column names will be given as input array. For example ["Col1", "Col2", "Col3", "Col4"]
Thanks in advance
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
See the attached for an example. Try removing column names from the columnNames variable to see the columns change.
dynamicColumns.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nimishan
over 9 years ago
Thanks a lot Philip, it worked
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Great, glad I could help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel