I have been experimenting with the file drag and drop, and I can get it to work 
from Explorer but not from Outlook.  
When I drag and drop from Explorer, the cursor changes to the  +  when I get to 
the component to drop
When I try and drag an outlook attachment the cursor never changes and nothing 
happens.  No error messages seen.

I am using 
PROPERTY pb ACCEPT_FILE_DROP TRUE
PROPERTY pb ACCEPT_MAIL_DROP TRUE

I am using a push button as the drop component, when clicked on should display 
the file name(s) dropped on it.  Works fine with Explorer, not Outlook.



I am using Outlook 2017 
Microsoft® Outlook® for Microsoft 365 MSO (16.0.14228.20216) 32-bit with Rbase 
X5 enterprise, with updates all installed.

Any words of wisdom  ??


Mark Lindner
Lindner & Associates
PO Box 327
Randolph  MA  02368
781 247 1100

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of A. 
Razzak Memon
Sent: Thursday, June 24, 2021 10:56 AM
To: [email protected]
Subject: Re: [RBASE-L] - drag and drop pictures from outlook

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.

-- 
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/BLAPR10MB51866890D6019FE5D1198F158FF99%40BLAPR10MB5186.namprd10.prod.outlook.com.

Reply via email to