Dan,
Here's how ...
The functionality exists for form controls to accept dropped objects
from external sources. External sources include file drops from
Windows Explorer and email files from Microsoft Outlook.
Once dropped, R:BASE retrieves the file names of the object. Form
controls which can accept a dropped object include those which can
accept focus (e.g. Edits, Memos, Enhanced Panels, etc.).
Dropped emails are saved as files in the TEMP folder. The file names
are captured in comma separated format. After the files names were
retrieved and actions performed, the list must be cleared. It is the
responsibility of the R:BASE application to delete the files when no
longer needed. This only clears the internal list of files that were
dropped, not the actual files.
-- Allow a control to accept dragged files from Windows Explorer:
PROPERTY ComponentID ACCEPT_FILE_DROP TRUE
-- Allow a control to accept dragged emails from MS Outlook:
PROPERTY ComponentID ACCEPT_MAIL_DROP TRUE
-- Get list of files that were dropped to a control:
GETPROPERTY ComponentID DROPPED_FILES vDroppedFileList
-- Clears the internal list of files that were dropped:
PROPERTY ComponentID CLEAR_DROPPED_FILES ' '
Using the above, you should be able to supply the desired
functionality to the users.
Have fun!
Very Best R:egards,
Razzak.
At 04:14 PM 6/23/2021, Dan Goldberg wrote:
So we have a customer support ticket system in Rbase.
Currently I have it setup where they link files to the ticket.
1. save the attached files from outlook to desktop
2. In Rbase When they click on "link the files" they select the
file(s) with the plugin and it copies it into an attachment folder
with a unique name.
They would like to be able to just drag the files from outlook to
the rbase ticket and it will automatically do the same. I can do a
"on drop" on a form button but I do not know how to have it grab the
file info to copy/rename the dropped file.
Anyone done this?
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/0Lyo0f-1l9hmF00f9-0167iO%40mrelay.perfora.net.