I want to keep documents from each speaker in a separate folder. I create the folder in a separate process and store the name of the folder in a field the Record Type of Speaker. Now when I want to upload documents, I need to set the Folder parameter in the a!fileUploadField(). When I set the target to the field, i get an error that Appian cannot cast the value of Record Field into a type of folder. I guess that I have to use the Cast() function to do that. However, I can not figure out how to format the Cast function to do that. I read the documentation for Cast() and TypeOf(), but I am still lost.
target: cast( typeof("folder"),'recordType!PMSO Speaker.fields.folder'),
Could someone please let me know how to proceed?
Discussion posts and replies are publicly visible
LOL, I understand. It is just that, when training fresh Appian devs, it happens that they make a mistake that I never thought of. To find that bug, we really need to painstakingly go through each and every detail.
Rule one of application development, "You can't make things fool proof. Fools are too ingenious!!!" I guess the same goes for new developers!!!