Hi ,
local!hello: fn!cast( fn!typeof({cons!TEST_VIEW}), local!datasubsetF ),
In this cast i am trying to convert local!datasubsetF(Type is HELLO_VIEW(10 Column)) to cons!TEST_VIEW(12 column).
But its returning local!datasubsetF value without new columns.
my need here is to convert one view data type to another view. where in both view difference is only two new columns rest everything is same.
Plz suggest any approach or correct here if anything wrong.
Discussion posts and replies are publicly visible
Try like this,
cast('type!{urn:com:appian:types}cdtNameWhichYouNeedtoConvert?list',local!datasubsetF)
Can you try with the direct type instead of constant. IF works than okay else you can break it into the field wise, and make other two column as null. Ex below:
a!forEach( items: local!datasubsetF, expression: { cast( typeof( cons!TEST_VIEW ), { field1: fv!item.field1, field2: fv!item.field2, ... ... additionalField11: null, additionalField12: null } ) })
Thanks for your inputs.
Thanks for your inputs.It worked for me .
Thanks..
Do you have any idea about Tableau Integration with appian ?