<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      You can invoke the "Refresh References" action, like this:<br>
      <br>
          AuthorActionsProvider actionsProvider =
      authorAccess.getEditorAccess().getActionsProvider();<br>
          Map<String, Object> authorCommonActions =
      actionsProvider.getAuthorCommonActions();<br>
          Object refreshRefAction =
      authorCommonActions.get("Author/Refresh_references");<br>
          actionsProvider.invokeAction(refreshRefAction);<br>
      <br>
      <pre class="moz-signature" cols="72">Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
      On 7/28/2014 11:34 AM, Jan Bevers wrote:<br>
    </div>
    <blockquote
cite="mid:B90DF52C077C454EB66E7193E2FFEACD61F209D5@mh-exch01.global.sdl.corp"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanks in advance<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Kind regards<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:NL-BE"
              lang="EN-US">Jan Bevers |</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:NL-BE"
            lang="EN-US"> Developer
            <b>|</b> SDL <b>| </b>+32 (0)15 400 970 <b>|</b> <a class="moz-txt-link-abbreviated" href="mailto:jbevers@sdl.com">jbevers@sdl.com</a> </span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:NL-BE"
            lang="EN-US"><br>
            <br>
          </span><o:p></o:p></p>
      </div>
      <font color="#736F6E" face="arial" size="2">
        <a moz-do-not-send="true"
href="http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature"><img
            moz-do-not-send="true"
            src="http://www.sdl.com/Content/images/SDLlogo2014.png"
            border="0"><br>
          www.sdl.com
        </a><br>
        <br>
        <font color="#736F6E" face="arial" size="1">
          <b>SDL PLC confidential, all rights reserved.</b>
          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.<br>
          SDL PLC is a public limited company registered in England and
          Wales. Registered number: 02675207.<br>
          Registered address: Globe House, Clivemont Road, Maidenhead,
          Berkshire SL6 7DY, UK.
        </font>
        <br>
        <br>
        <p align="center"><font style="BACKGROUND-COLOR: #ffffff">This
            message has been scanned for malware by Websense. </font><a
            moz-do-not-send="true" href="http://www.websense.com/"><font
              style="BACKGROUND-COLOR: #ffffff" color="#000000">www.websense.com</font></a></p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
      </font></blockquote>
    <br>
  </body>
</html>