Search found 15 matches

by mihai_coanda
Fri Nov 01, 2019 1:11 pm
Forum: Common Problems
Topic: Hiding folded placeholder
Replies: 6
Views: 629

Re: Hiding folded placeholder

Hello Patrik, I recreated the plugin based on your information and deployed it into the WebAuthor. The function from your javascript code was not called, only declared so i changed it to (only added () at the end to call it) : (function () { var cssFile; cssFile = goog.dom.createDom('link'); cssFile...
by mihai_coanda
Fri Oct 18, 2019 10:07 am
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello Nicolas, I am glad that i could help. The Web Author stores it's options in the options.xml file . You can add the following entries to the file to customize the REST Connector Options: <entry> <String>PLUGIN_CUSTOM_OPTIONS.rest.root_regexp</String> <String>rest://CMS/[^/]+/</String> </entry> ...
by mihai_coanda
Thu Oct 17, 2019 2:12 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello, The logs that you sent me are from the Web Author but no logs for com.oxygenxml.rest.plugin are set to DEBUG as they do not appear in your logs. Did you add log4j.category.com.oxygenxml.rest.plugin=debug in the WebAuthor's log4j.properties file and restarted the WebAuthor ? Regards, Michael
by mihai_coanda
Thu Oct 17, 2019 12:47 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello Nicolas, As i mentioned in my previous reply, you will have to enabled the logs in the Web Author to check what the WebAuthor is actually receiving from your server and also check what the /browse/list/ browser Web Author request for your REST Connector receives, not the one of the WebDAV Conn...
by mihai_coanda
Thu Oct 17, 2019 10:01 am
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello, 1. This might me caused by a request being made before the credentials reach rest-login-callback . Check the browser's network tab to pinpoint the exact request being made that triggers the login dialog after the initial login dialog closed itself. If you do not have control of that request y...
by mihai_coanda
Wed Oct 16, 2019 5:35 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello It seems that the problem was indeed generated due to the session cookie path attribute. The Web Author was passing it's version if JSESSIONID cookie as it was the one accessible to it, being set for path /AUTHOR_WEB . The two JSESSIONID will not cause any issues as they have their paths defin...
by mihai_coanda
Wed Oct 16, 2019 3:49 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello, From what i understand BASE_REST_SERVER_URL/rest-login redirects to another page that is on the same domain as BASE_REST_SERVER_URL/rest-login and the Web Author. If all the apps are on the same domain then it should work without any changes as cookies set by OTHER_APP are accessible to the W...
by mihai_coanda
Wed Oct 16, 2019 11:33 am
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello Nicolas , The cookies that the login request sets should be passed b y the browser to future Web Author requests. For this to happen the session cookies should be on the same domain as the WebAuthor and their paths should indicate a URL path that must exist in the Web Author URL in order to be...
by mihai_coanda
Thu Oct 03, 2019 3:01 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello, Please confirm that the following scenario is what you are experiencing: The WebAtuthor tries to open a document from your server As the user is not logged in your server responds with 401 The user is prompted with a dialog in which BASE_REST_SERVER_URL/rest-login is loaded Once the user logs...
by mihai_coanda
Tue Oct 01, 2019 12:23 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 1298

Re: Web Author - REST Plugin Auth

Hello Nicolas,

From you description it seems that you redirected the user to $WEB_AUTHOR_URL/plugins-dispatcher/rest-browse-callback. You should redirect to $WEB_AUTHOR_URL/plugins-dispatcher/rest-login-callback.

Regards,
Michael
by mihai_coanda
Tue May 29, 2018 3:52 pm
Forum: Common Problems
Topic: Webapp customisation
Replies: 6
Views: 1794

Re: Webapp customisation

Hello, I am trying to reproduce your issue using the 19.1 build from our website by running the following code in the browser's console: workspace.currentEditor.getActionsManager().invokeOperation('ro.sync.ecss.extensions.commons.operations.ReloadContentOperation', {}, goog.nullFunction); workspace....
by mihai_coanda
Tue Jan 16, 2018 2:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a custom Dialog for Link
Replies: 14
Views: 4144

Re: Creating a custom Dialog for Link

Hello,

You can use the ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation operation.

Regards,
Mihai
by mihai_coanda
Fri Jan 12, 2018 11:31 am
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a custom Dialog for Link
Replies: 14
Views: 4144

Re: Creating a custom Dialog for Link

Hello, The easiest approach to style your HTML would be to use inline styling using the element's " style " attribute. If you want to have the CSS in a separate file, to load a CSS file from your framework you should add a .css file in your framework's web folder and load it from your framework.js c...
by mihai_coanda
Thu Jan 11, 2018 10:43 am
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a custom Dialog for Link
Replies: 14
Views: 4144

Re: Creating a custom Dialog for Link

Hello Himangshu, This is a sample code on how to use a dialog: function actionTriggered() { if(!myDialog) { myDialog = createDialog(); } myDialog.getElement().innerHTML = 'My custom HTML content'; myDialog.show(); myDialog.onSelect(function(e) { // The event contains information on the selected butt...
by mihai_coanda
Tue Sep 27, 2016 2:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error seen when using WebAuthor - ro.sync.servlet.ServletDocumentModelCache
Replies: 2
Views: 2465

Re: Error seen when using WebAuthor - ro.sync.servlet.ServletDocumentModelCache

Hello, This error occurs when one user tries to invoke actions on behalf of another user User with id user2711956834878428666 is trying to access a document that belongs to the user user-1474907160811 This should never happen unless one tries to act on a document opened in another session. Somehow a...