<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 Jakob,<br>
      <br>
      Are you referring to Data Sources or Connections? A data source
      contains the jar libraries while the connection contains the data
      needed to connect to a specific MarkLogic AppServer. Assuming that
      you have configured the MarkLogic related options once, what you
      can do is share the Oxygen options file with all other users that
      want the same level of access. <br>
      <br>
      The options file is named something like oxyOptionsSa15.0.xml and
      depending on the platform the options folder is located as
      follows:
      <br>
      - Windows XP - [user-home-folder]\Application Data\com.oxygenxml
      <br>
      - Windows Vista/7 -
      [user-home-folder]\AppData\Roaming\com.oxygenxml
      <br>
      - Mac OS X - [user-home-folder]/Library/Preferences/com.oxygenxml
      <br>
      - Mac OS X - ~/Library/Preferences/com.oxygenxml
      <br>
      - Linux - [user-home-folder]/.com.oxygenxml
      <br>
      <br>
      One thing to bear in mind is that the passwords are encrypted so
      they are not portable. All those that import the options file must
      manually insert the passwords in the connections.<br>
      <br>
      Since the options file is an XML file you could also take a look
      and see how a MarkLogic data source and connection are saved and
      write an XQuery or XSLT to automatic add the connections so that
      you skip the manual insertion entirely. <br>
      <br>
      Once you have an options file you can send them to all interested
      and they can use Options-&gt;Import Global Options... Another
      possible approach is to give them the options file as default
      options:
      <a class="moz-txt-link-freetext" href="http://oxygenxml.com/doc/ug-editor/#topics/default-options.html">http://oxygenxml.com/doc/ug-editor/#topics/default-options.html</a><br>
      <br>
      I'm also thinking about a possible Wizard that will let you select
      the AppServers for which you want to create connections. But I
      don't think this Wizard will be able to create Data Sources since
      the jars are not on the server (it would involve downloading them
      from the MarkLogic site). Do you find this kind of wizard to be
      useful and if yes do you have any suggestions about what
      interaction we should offer in this wizard?<br>
      <br>
      Best regards,<br>
      Alex<br>
      <br>
      On 13-Nov-13 4:55 PM, Jakob Fix wrote:<br>
    </div>
    <blockquote
cite="mid:CACmjRh_PmSz1oU4jNduHi0ixcpFpUwgkB3BkC8cfg+5ghr1HSA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>right now we're creating our MarkLogic data sources
          manually, using the UI. Is there a way to create them by
          modifying a configuration file, or an API to send setup
          requests to?</div>
        <div><br>
        </div>
        <div>We're having a quite a lot of these data sources, but
          creating them by hand gets cumbersome. And we really like the
          possibility to inspect the database's contents via WebDAV from
          within OxygenXML.</div>
        <div><br clear="all">
          <div>cheers,<br>
            Jakob.</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>