Hi team,
code :
local!testdata: rule!getdata(ri!input)
,
local!finaldata:index(local!testdata, wherecontains( user(loggedInUser(),"email"), touniformstring(property(local!testdata,"email","")) ) )
When I run text this code in interface in appian designer it works fine both local variables show data there but when I run this interface in Site at run time only local!testdata gets filled and local!finaldata remains empty.
Please Help
Discussion posts and replies are publicly visible
Hi arshbirs0001, how are you changing the value of ri!input? Are you testing that interface at the parent-level in Interface Designer?
I have local variables as
local!one :{ readexcel (ri! input - file will be uploaded and ri!input will include the document ID ) }
a!gridlayout with data local!one
But interface loads with empty grid layout , when I upload the file it doesn't show any changes in grid layout
Are you using a!localvariables()? load()? with()?
I am using a!localvariables()
just to understand it better:
you upload an excel file, the ID of the file will be stored into ri!inputri!Input will be updated but local!testdata won't update its value?
Yes
arshbirs0001,
"Since the file isn't uploaded until form submit, you can't access any data from the file until they submit. One thing you could do is to create multiple forms that are activity chained"
I strongly suggest you check an existing thread on this topic. It seems to be the exact same use case as yours:
https://community.appian.com/discussions/f/user-interface/17439/is-it-possible-to-get-document-id-of-uploaded-file-a-fileuploadfield-within-same-interface-without-submitting-a-form/77389#77389
Can't it be done without using Form submit, can't it be possible without using Any process model? I am using this in just a basic interface
Appian is about building records and processes and then attaching UI to them. Appian is no pure UI toolkit.