...
- Add an attribute to the Stream Book List:
- Name: gridRowColour
- Type: String
- Length: 50
- Expression:
Code Block |
---|
if (_out.Publisher == "Humbolt", "red", "aqua") |
- Re-load the file and run the stream to populate the new attribute:
- Open the file browser from the file collector Book List
- Navigate to the directory …\inputData\Books
- Load the file BookList.xlsx
- Run the stream Book List
- Create a new view on the Stream BookList
- Type: Grid
- Name: Book List – Publisher by Colour
- Attributes: add all attributes to the view
- Press to save your changes
...