{"action":"created","issue":{"url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone/issues/5","repository_url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone","labels_url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone/issues/5/comments","events_url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone/issues/5/events","html_url":"https://github.com/Dani3lSun/apex-plugin-dropzone/issues/5","id":141162276,"number":5,"title":"External Storage","user":{"login":"Fatehcis","id":15244057,"avatar_url":"https://avatars.githubusercontent.com/u/15244057?v=3","gravatar_id":"","url":"https://api.github.com/users/Fatehcis","html_url":"https://github.com/Fatehcis","followers_url":"https://api.github.com/users/Fatehcis/followers","following_url":"https://api.github.com/users/Fatehcis/following{/other_user}","gists_url":"https://api.github.com/users/Fatehcis/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatehcis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatehcis/subscriptions","organizations_url":"https://api.github.com/users/Fatehcis/orgs","repos_url":"https://api.github.com/users/Fatehcis/repos","events_url":"https://api.github.com/users/Fatehcis/events{/privacy}","received_events_url":"https://api.github.com/users/Fatehcis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Dani3lSun","id":698942,"avatar_url":"https://avatars.githubusercontent.com/u/698942?v=3","gravatar_id":"","url":"https://api.github.com/users/Dani3lSun","html_url":"https://github.com/Dani3lSun","followers_url":"https://api.github.com/users/Dani3lSun/followers","following_url":"https://api.github.com/users/Dani3lSun/following{/other_user}","gists_url":"https://api.github.com/users/Dani3lSun/gists{/gist_id}","starred_url":"https://api.github.com/users/Dani3lSun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dani3lSun/subscriptions","organizations_url":"https://api.github.com/users/Dani3lSun/orgs","repos_url":"https://api.github.com/users/Dani3lSun/repos","events_url":"https://api.github.com/users/Dani3lSun/events{/privacy}","received_events_url":"https://api.github.com/users/Dani3lSun/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-03-16T03:27:12Z","updated_at":"2016-03-20T18:28:36Z","closed_at":null,"body":"Hello, \r\nYour contributions are highly appreciated. \r\n\r\nAre you planning to support external storage e..g, the files are uploaded to Amazon or Oracle Cloud Storage, then the files link are stored in the DB."},"comment":{"url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone/issues/comments/198981915","html_url":"https://github.com/Dani3lSun/apex-plugin-dropzone/issues/5#issuecomment-198981915","issue_url":"https://api.github.com/repos/Dani3lSun/apex-plugin-dropzone/issues/5","id":198981915,"user":{"login":"Fatehcis","id":15244057,"avatar_url":"https://avatars.githubusercontent.com/u/15244057?v=3","gravatar_id":"","url":"https://api.github.com/users/Fatehcis","html_url":"https://github.com/Fatehcis","followers_url":"https://api.github.com/users/Fatehcis/followers","following_url":"https://api.github.com/users/Fatehcis/following{/other_user}","gists_url":"https://api.github.com/users/Fatehcis/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatehcis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatehcis/subscriptions","organizations_url":"https://api.github.com/users/Fatehcis/orgs","repos_url":"https://api.github.com/users/Fatehcis/repos","events_url":"https://api.github.com/users/Fatehcis/events{/privacy}","received_events_url":"https://api.github.com/users/Fatehcis/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T18:28:36Z","updated_at":"2016-03-20T18:28:36Z","body":"Ok, thanks for the thorough answer\n\nAssalamu Alaikum, السلام عليكم و رحمة الله و بركاته,\n\n\n\n\n\n  Fateh Almsaddi, *COO*, M: (+971) 55 667 5271 <+971556675271>\n------------------------------\n[image: FAM Properties] <http://dubai.famproperties.com/>\nBuilding 13, Office 303 & 304\nBay Square - Business Bay\nBurj Khalifa District\nP.O Box 215088\nDubai, UAE\n*fäm*Properties.com <http://dubai.famproperties.com/>\nLocation Map\n<https://www.google.com/maps/place/f%C3%A4m+Properties+-+Dubai+Real+Estate+Brokers/@25.1870084,55.2816753,17z/data=!4m2!3m1!1s0x0000000000000000:0x64b7bc4ca8ecb767?hl=en-US>\n\n*Stay Connected*\n[image: Facebook] <https://www.facebook.com/famproperties>   [image:\nLinkedIn] <http://www.linkedin.com/in/famproperties>   [image: Twitter]\n<https://twitter.com/famproperties12>   [image: Youtube]\n<http://www.youtube.com/user/famproperties123>   [image: Blog]\n<http://blog.famproperties.com/>   [image: Plus]\n<https://plus.google.com/+Famproperties2>\n\n Please consider the environment before printing this email.\n\nOn Thu, Mar 17, 2016 at 2:17 AM, Daniel Hochleitner <\nnotifications@github.com> wrote:\n\n> Hi @Fatehcis <https://github.com/Fatehcis>\n>\n> you can do this already now. The files are uploaded to a temp\n> apex_collection, from there you can pick the files and upload it to your\n> favorite cloud location, either via web service or a locally mounted cloud\n> storage on your database server...\n> I do similar thing with the open xchange webdav rest api at work, a code\n> sample for example could look like this:\n> New Dynamic Action:\n>\n>    - Event: Dropzone upload completed\n>    - Action: Execute PL/SQL code\n>    - Code\n>\n> DECLARE\n>   --\n>   CURSOR l_cur_dz_files IS\n>     SELECT n001    AS file_id,\n>            c001    AS filename,\n>            c002    AS mime_type,\n>            d001    AS date_created,\n>            blob001 AS file_content\n>       FROM apex_collections\n>      WHERE collection_name = 'DROPZONE_UPLOAD';\n> BEGIN\n>   --\n>   -- loop over dropzone files and upload with plsql procedure to other location\n>   FOR l_rec_dz_files IN l_cur_dz_files LOOP\n>     your_api.your_upload_prc(i_filename     => l_rec_dz_files.filename,\n>                              i_mimetype     => l_rec_dz_files.mime_type,\n>                              i_file_content => l_rec_dz_files.file_content);\n>   END LOOP;\n>   -- delete collection after upload\n>   apex_collection.delete_collection(p_collection_name => 'DROPZONE_UPLOAD');\n> END;\n>\n> Hope this helps!\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Dani3lSun/apex-plugin-dropzone/issues/5#issuecomment-197580817>\n>\n"}}