Configuring Runtime Modifications for File Picker in Display Form
I am trying to configure the runtime modifications for a file picker in my display form. Some background...I have created a web map that allows a user to select a parcel that brings up a pop-up. In the pop-up, there is a link to 'Complete an Inspection'. When the link is clicked, a workflow begins that displays a form for the user to fill out (where they can upload a picture) and then saves the form to a sql table once submitted. If the link is clicked again, and the form is reopened, I've configured all of the previously entered data to be repopulated in the fields of the form, except the photo file. Does anyone know how to configure this so if a file has already been uploaded, it will pre-populate in the form again? Here's a screen shot of what I"ve attempted

0
-
If I understand correctly, you want to set the filename property of the filepicker to the previously selected one?
That is something you cannot do, due to security reasons, at least in the HTML viewer, I'm not 100% sure of Silverlight.
There's a question about this on StackOverflow: http://stackoverflow.com/questions/1696877/how-to-set-a-value-to-a-file-input-in-html , see the 1st answer for details.
As a workaround, you could move the filepicker into a group, and set the description of that group to the filename.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar