- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2020 09:15 AM
Hello everyone,
I am working on an app in Mobile Agent.
I have an Action Function called New Service Request, that allows the users to create new records. The function is set to "Allow Images Upload". It works in a sense that the '+' sign does appear on the form and after choosing or taking a photo, the photo pops up on the right side of the '+' sign.
However, when I tap submit, and then view the records list using Mobile Agent, the record is there, but the image is not. I also check the sys_attachment table, and the image I uploaded does not appear in there either.
How does attachment upload work, and how does it get stored in the app?
Any help would be appreciated!
Solved! Go to Solution.
- Labels:
-
Agent Mobile App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2020 08:58 AM
I wanted to add a real resolution to this issue since the link given is broken and I have also been struggling with this.
Image upload only works if the Table field is set, and the Table field is only visible if the context is set to Record.
In the sys_sg_button table where you created the function and selected "Allow images upload", you must change the function context to "Record" and then set the Table to Incident or whichever table you are using. Save the record. Then change the context back to "Global" and save again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2020 08:02 AM
Hello Joshwa,
Thanks for responding.
I follow the link, but I can't view the image under the workaround.
Here is how my sys_sg_button looks like:
The Reference used to be empty. So I changed it into the table that I am using.
It did not work, so I went ahead and made the Reference to point to sys_attachments table.
But still, the image does not appear when I upload it and submit with a new record.
Also, by any chance could you attach the image in the "Workaround" section of the link that you provided (unless you can't view it either)?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2020 08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2020 07:45 AM
Not yet. I still face the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2020 10:13 AM
Update:
The issue got resolved by itself. After days of uploading images in the ticket creation and not seeing them in the record, I tried it again, and it started working.
I am not sure what exactly solved the problem, because I tried it the day before, and it did not work. On the next day, without changing any configuration files, I tried it, and it worked. The new images are now getting uploaded to the sys_attachments table after submitting the new ticket.
Here are screenshots showing that the feature works.
Here is the state of sys_attachments table before and after the submission of the new ticket with the image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2020 10:18 AM
That's cool. Thank you.
Can you confirm if you can auto-set UI parameters with some values?
Let say I have a category field and it should be auto-populated with Inquiry. Is this possible?