Re: [oXygen-sdk] New Oxygen 19 feature which allows saving new files to CMS

Hi, We have our own specific menu, because before actually creating the new file on the file system, we need to create/update information in our database. Our CMS also requires files to be 'checked out' before editing. Saving in Oxygen means saving to the filesystem, when done editing files need to be 'checked in'. Can this be disabled? Or is it only available when implementing an interface? Kind regards, Pascal [http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.png]<www.sdl.com/> www.sdl.com SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -----Original Message----- From: oXygen-sdk [mailto:oxygen-sdk-bounces@oxygenxml.com] On Behalf Of oxygen-sdk-request@oxygenxml.com Sent: Wednesday, December 21, 2016 1:12 PM To: oxygen-sdk@oxygenxml.com Subject: oXygen-sdk Digest, Vol 45, Issue 1 Send oXygen-sdk mailing list submissions to oxygen-sdk@oxygenxml.com To subscribe or unsubscribe via the World Wide Web, visit https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk or, via email, send a message with subject or body 'help' to oxygen-sdk-request@oxygenxml.com You can reach the person managing the list at oxygen-sdk-owner@oxygenxml.com When replying, please edit your Subject line so it is more specific than "Re: Contents of oXygen-sdk digest..." Today's Topics: 1. New Oxygen 19 feature which allows saving new files to CMS (Radu Coravu) ---------------------------------------------------------------------- Message: 1 Date: Wed, 21 Dec 2016 14:11:32 +0200 From: Radu Coravu <radu_coravu@sync.ro> To: "oxygen-sdk@oxygenxml.com" <oxygen-sdk@oxygenxml.com> Subject: [oXygen-sdk] New Oxygen 19 feature which allows saving new files to CMS Message-ID: <07e077bf-c2e6-3d33-d6aa-d75fbb7e223b@sync.ro> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi everyone, This mail is mostly for CMS vendors who created plugins for the standalone version of Oxygen. For Oxygen 19.0 (which we plan to release in the Spring of 2017) we added an enhancement when using the "File->New" action from Oxygen. Please see the attached screenshot. Users will be able to specify a location where to save the new file, instead of opening it as an untitled document and then saving later on. So the CMS plugin contributed browse actions will also appear in the "Save As" list of browse actions. Basically the user will be able to browse the CMS and choose an URL where to save, then Oxygen will call the custom CMS-implemented URL handler to save the content to the CMS. How would this functionality affect your current integration with Oxygen? How did you handle the creation of new XML documents until now? Did you have your own "New from CMS" toolbar button? Do you need additional API to know that the URL handler is called from this particular context? Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com -------------- next part -------------- A non-text attachment was scrubbed... Name: newSaveToCMS.png Type: image/png Size: 58811 bytes Desc: not available URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20161221/5747e3a7/attachment.png> ------------------------------ Subject: Digest Footer _______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk ------------------------------ End of oXygen-sdk Digest, Vol 45, Issue 1 ***************************************** This message has been scanned for malware by Websense. www.websense.com

Hi Pascal, By default the "Save As" checkbox is unchecked in the "New" file dialog. So by default it will work as it does now, first creating the untitled document and then the end user needs to save it someplace. I guess we could try to add a system property to disable the "Save as" functionality. Would this work for you? Right now, if your custom URL handler is called by Oxygen to obtain an output stream, and Oxygen writes to that output stream and closes, what does the connector do if the URL cannot be located on the CMS (it's a new resource which has never been saved before)? Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 12/21/2016 3:28 PM, Pascal Beutels wrote:
Hi,
We have our own specific menu, because before actually creating the new file on the file system, we need to create/update information in our database. Our CMS also requires files to be 'checked out' before editing. Saving in Oxygen means saving to the filesystem, when done editing files need to be 'checked in'.
Can this be disabled? Or is it only available when implementing an interface?
Kind regards,
Pascal
[http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.png]<www.sdl.com/> www.sdl.com
SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.
-----Original Message----- From: oXygen-sdk [mailto:oxygen-sdk-bounces@oxygenxml.com] On Behalf Of oxygen-sdk-request@oxygenxml.com Sent: Wednesday, December 21, 2016 1:12 PM To: oxygen-sdk@oxygenxml.com Subject: oXygen-sdk Digest, Vol 45, Issue 1
Send oXygen-sdk mailing list submissions to oxygen-sdk@oxygenxml.com
To subscribe or unsubscribe via the World Wide Web, visit https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk or, via email, send a message with subject or body 'help' to oxygen-sdk-request@oxygenxml.com
You can reach the person managing the list at oxygen-sdk-owner@oxygenxml.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of oXygen-sdk digest..."
Today's Topics:
1. New Oxygen 19 feature which allows saving new files to CMS (Radu Coravu)
----------------------------------------------------------------------
Message: 1 Date: Wed, 21 Dec 2016 14:11:32 +0200 From: Radu Coravu <radu_coravu@sync.ro> To: "oxygen-sdk@oxygenxml.com" <oxygen-sdk@oxygenxml.com> Subject: [oXygen-sdk] New Oxygen 19 feature which allows saving new files to CMS Message-ID: <07e077bf-c2e6-3d33-d6aa-d75fbb7e223b@sync.ro> Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hi everyone,
This mail is mostly for CMS vendors who created plugins for the standalone version of Oxygen.
For Oxygen 19.0 (which we plan to release in the Spring of 2017) we added an enhancement when using the "File->New" action from Oxygen. Please see the attached screenshot.
Users will be able to specify a location where to save the new file, instead of opening it as an untitled document and then saving later on. So the CMS plugin contributed browse actions will also appear in the "Save As" list of browse actions. Basically the user will be able to browse the CMS and choose an URL where to save, then Oxygen will call the custom CMS-implemented URL handler to save the content to the CMS.
How would this functionality affect your current integration with Oxygen? How did you handle the creation of new XML documents until now? Did you have your own "New from CMS" toolbar button? Do you need additional API to know that the URL handler is called from this particular context?
Regards, Radu
Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
participants (2)
-
Oxygen XML Editor Support (Radu Coravu)
-
Pascal Beutels