
Hi, You can invoke the "Refresh References" action, like this: AuthorActionsProvider actionsProvider = authorAccess.getEditorAccess().getActionsProvider(); Map<String, Object> authorCommonActions = actionsProvider.getAuthorCommonActions(); Object refreshRefAction = authorCommonActions.get("Author/Refresh_references"); actionsProvider.invokeAction(refreshRefAction); Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 7/28/2014 11:34 AM, Jan Bevers wrote:
Hi
Is there a way to refresh conrefs/keyrefs inside a document programatically? In our plugin we have a custom menu item which should also trigger this action.
Thanks in advance
Kind regards
*Jan Bevers |* Developer *|* SDL *| *+32 (0)15 400 970 *|* jbevers@sdl.com
www.sdl.com <http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature>
*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.
This message has been scanned for malware by Websense. www.websense.com <http://www.websense.com/>
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk