[oXygen-sdk] New Oxygen 19 feature which allows saving new files to CMS (Oxygen XML Editor Support (Radu Coravu) )

Pascal Beutels pbeutels at sdl.com
Mon Dec 26 02:12:13 CST 2016


An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20161226/bda88397/attachment.html>
-------------- next part --------------
Radu,

We indeed show our own dialogs to choose the templates.

I will have a look at what the InputURLChooser"/"ContextDescriptionProvider.getContextDescription()" provides as context for the different browse actions.


Regards,

Pascal

----------------------------------------------------------------------

Message: 1
Date: Fri, 23 Dec 2016 15:09:23 +0200
From: "Oxygen XML Editor Support (Radu Coravu) "
<support at oxygenxml.com>
To: oxygen-sdk at oxygenxml.com
Subject: Re: [oXygen-sdk] New Oxygen 19 feature which allows saving
new files to CMS (Oxygen XML Editor Support (Radu Coravu) )
Message-ID: <a3c0ffa0-a633-22a1-9390-7f2a74611413 at oxygenxml.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Pascal,

> The flow is enforced to first create the item in the repository/CMS through our own 'New' menu where they select a location in the repository and a 'template' topic/map and add additional metadata.

And do you show your own "New" wizard dialog for selecting the DITA template or do you show ours?

> Would it be possible to limit the CMS plugin contributed browse to certain actions, or at least exclude it from some action like 'Save As'?

On the method
"InputURLChooserCustomizer.customizeBrowseActions(List<Action>,
InputURLChooser)"

the "InputURLChooser" has a method like "ContextDescriptionProvider.getContextDescription()". It might be enough for you to determine in which context the custom browse actions will be added. I will also add an issue on our side to see if in the context of the "File->New" dialog the "Save As"
""ContextDescriptionProvider.getContextDescription()"" gives enough context.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com

On 12/23/2016 2:49 PM, Pascal Beutels wrote:
> Hi,
>
> The flow is enforced to first create the item in the repository/CMS through our own 'New' menu where they select a location in the repository and a 'template' topic/map and add additional metadata.
> The selection of that template item is important because it already contains pre-filled content (and metadata).
>
> Would it be possible to limit the CMS plugin contributed browse to certain actions, or at least exclude it from some action like 'Save As'?
>
> We also have our own Save As.. ('Check In As...') functionality through our own menu.
>
> Kind regards,
>
> Pascal
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 22 Dec 2016 15:20:41 +0200
> From: "Oxygen XML Editor Support (Radu Coravu) "
> <support at oxygenxml.com>
> To: oxygen-sdk at oxygenxml.com
> Subject: Re: [oXygen-sdk] New Oxygen 19 feature which allows saving
> new files to CMS
> Message-ID: <8bfd8738-c306-d4ca-8f61-12cb748644a1 at oxygenxml.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> 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.p
>> n
>> g]<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.
>>
>>
>
> [http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.pn
> g]<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.
>
>

[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 at oxygenxml.com] On Behalf
>> Of oxygen-sdk-request at oxygenxml.com
>> Sent: Wednesday, December 21, 2016 1:12 PM
>> To: oxygen-sdk at oxygenxml.com
>> Subject: oXygen-sdk Digest, Vol 45, Issue 1
>>
>> Send oXygen-sdk mailing list submissions to oxygen-sdk at 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 at oxygenxml.com
>>
>> You can reach the person managing the list at
>> oxygen-sdk-owner at 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 at sync.ro>
>> To: "oxygen-sdk at oxygenxml.com" <oxygen-sdk at oxygenxml.com>
>> Subject: [oXygen-sdk] New Oxygen 19 feature which allows saving new
>> files to CMS
>> Message-ID: <07e077bf-c2e6-3d33-d6aa-d75fbb7e223b at 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/5
>> 7
>> 47e3a7/attachment.png>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> oXygen-sdk mailing list
>> oXygen-sdk at 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
>>
>>
>>
>> _______________________________________________
>> oXygen-sdk mailing list
>> oXygen-sdk at oxygenxml.com
>> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 22 Dec 2016 15:24:23 +0200
> From: "Oxygen XML Editor Support (Radu Coravu) "
> <support at oxygenxml.com>
> To: oxygen-sdk at oxygenxml.com
> Subject: Re: [oXygen-sdk] oXygen-sdk Digest, Vol 45, Issue 1
> Message-ID: <6c233e27-301c-146a-8e61-09428db55ae0 at oxygenxml.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi Frank,
>
> About this remark:
>
>> As for API requirements, maybe it would be good if there was an API we could implement that would be called by oXygen to get the current Save As default location and default file name.
>
> Do you mean that when the end user calls the "File->Save to URL" action you would like to pre-polulate the initial location with a default location and file name?
> But the user would still need to browse for the place where to save the file using your CMS's browse dialog...
> Maybe you could give me more details, a few screenshots... just so that I better understand this.
>
> Regards,
> Radu
>
> Radu Coravu
> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> On 12/21/2016 3:08 PM, Frank Shipley wrote:
>> Hi Radu,
>>
>> This would be a great addition for our plugin. Today, users can
>> either create new files directly in Componize (Alfresco) via the web
>> interface, or create them in oXygen and then use the standard Save to
>> URL... action in oXygen.
>>
>> Although I think the addition of the Save As option in your
>> screenshot would be great, I also like the idea of users being able
>> to create a new document without giving it a name and then being
>> presented with a Save As dialog when they first Save (exactly how it works in Word).
>> Either way would be a great plus for our plugin.
>>
>> As for API requirements, maybe it would be good if there was an API
>> we could implement that would be called by oXygen to get the current
>> Save As default location and default file name.
>>
>> Best regards,
>> Frank
>>
>>
>> On Wed, Dec 21, 2016 at 1:11 PM, <oxygen-sdk-request at oxygenxml.com
>> <mailto:oxygen-sdk-request at oxygenxml.com>> wrote:
>>
>>     Send oXygen-sdk mailing list submissions to
>>             oxygen-sdk at oxygenxml.com
>> <mailto:oxygen-sdk at oxygenxml.com>
>>
>>     To subscribe or unsubscribe via the World Wide Web, visit
>>             https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>>     <https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk>
>>     or, via email, send a message with subject or body 'help' to
>>             oxygen-sdk-request at oxygenxml.com
>>     <mailto:oxygen-sdk-request at oxygenxml.com>
>>
>>     You can reach the person managing the list at
>>             oxygen-sdk-owner at oxygenxml.com
>>     <mailto:oxygen-sdk-owner at 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 at sync.ro <mailto:radu_coravu at sync.ro>>
>>     To: "oxygen-sdk at oxygenxml.com <mailto:oxygen-sdk at oxygenxml.com>"
>>     <oxygen-sdk at oxygenxml.com <mailto:oxygen-sdk at oxygenxml.com>>
>>     Subject: [oXygen-sdk] New Oxygen 19 feature which allows saving new
>>             files to        CMS
>>     Message-ID: <07e077bf-c2e6-3d33-d6aa-d75fbb7e223b at sync.ro
>>     <mailto:07e077bf-c2e6-3d33-d6aa-d75fbb7e223b at 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/5
>> 747e3a7/attachment.png
>>
>> <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20161221/5
>> 7
>> 47e3a7/attachment.png>>
>>
>>     ------------------------------
>>
>>     Subject: Digest Footer
>>
>>     _______________________________________________
>>     oXygen-sdk mailing list
>>     oXygen-sdk at oxygenxml.com <mailto:oXygen-sdk at oxygenxml.com>
>>     https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>>     <https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk>
>>
>>
>>     ------------------------------
>>
>>     End of oXygen-sdk Digest, Vol 45, Issue 1
>>     *****************************************
>>
>>
>>
>>
>> --
>> Best regards,
>>
>> Frank Shipley
>> http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9A
>> Q
>> NDUU6liXGSXnFRmV5uYmZOcn5eSVF-jl5yfi5DqZOvp4FxhpeBiYWxkSVDQVJqaUlqTrF
>> D cQpEPqOkpMBKX7-8vBzELcjPy6xKBUswMHROYWAAAGeKIIs&Z
>> <http://webdefence.global.blackspider.com/urlwrap/?q=AXicY2Rm8FrCwHB9
>> A
>> QNDUU6liXGSXnFRmV5uYmZOcn5eSVF-jl5yfi5DqZOvp4FxhpeBiYWxkSVDQVJqaUlqTr
>> F DcQpEPqOkpMBKX7-8vBzELcjPy6xKBbH0GRgYOqcwMAAAiHAgug&Z>
>> /Structured Content Management, Updated/ / /
>> Mob: +33 623 946 953
>> Skype: fshipley
>>
>>
>> _______________________________________________
>> oXygen-sdk mailing list
>> oXygen-sdk at oxygenxml.com
>> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> oXygen-sdk mailing list
> oXygen-sdk at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>
>
> ------------------------------
>
> End of oXygen-sdk Digest, Vol 45, Issue 3
> *****************************************
>
>
>
> _______________________________________________
> oXygen-sdk mailing list
> oXygen-sdk at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
>


------------------------------

Subject: Digest Footer

_______________________________________________
oXygen-sdk mailing list
oXygen-sdk at oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk


------------------------------

End of oXygen-sdk Digest, Vol 45, Issue 5
*****************************************


More information about the oXygen-sdk mailing list