The UFO was created as an example tool makes use of the Record Data API and should only be used by advanced power users. This example utility can preform mass updates to your collection data based on a search criteria and a single field replacment value. This is not a supported product or part of the LUNA software tools. It is just an example and to be used at your own risk.
Setup tomcat and install the app
Connect to your instance of LUNA http://luna.example.com/editor/e/developers/apps and click the Create button
<bean id="libraryClient" class="com.luna.services.api.example.client.LibraryClient" init-method="initialize"> <property name="restTemplate" ref="restTemplate"/> <property name="lunaLibraryUrl" value="http://www.example.com/editor/e/"/> <property name="consumerKey" value="UJDtGfa"/> <property name="consumerSecret" value="LHDIWoVLiVdsfjnI98saswd593AJFr"/> </bean> <bean id="recordUpdateService" class="com.luna.services.api.example.client.service.RecordUpdateService"> <property name="libraryClient" ref="libraryClient"/> <property name="dirPath" value="/tmp"/> <property name="defaultCollectionId" value="LUNA~1~1"/> </bean> |
Format: CSV
Two columns with header.
The header fields must be field names not field display name.
Field and value to search for
Field and value to update