daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Oct 9th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     \watermark-auth-it\watermark-auth-it-platform-jar\src\main\resources\alfresco\module\watermark-auth-it-platform-jar\context\bootstrap-context.xml
  2.  
  3.     <bean id="templates.email.bootstrap"
  4.           class="org.alfresco.repo.module.ImporterModuleComponent"
  5.           parent="module.baseComponent">
  6.  
  7.         <!-- Module Details -->
  8.         <property name="moduleId" value="${project.artifactId}" />
  9.         <property name="name" value="watermark-auth-it-bootstrap" />
  10.         <property name="description" value="My Modules initial data requirements" />
  11.         <property name="sinceVersion" value="1.0" />
  12.         <property name="appliesFromVersion" value="1.0" />
  13.  
  14.         <!-- Data properties -->
  15.         <property name="importer" ref="spacesBootstrap"/>
  16.         <property name="bootstrapViews">
  17.             <list>
  18.                 <props>
  19.                     <prop key="uuidBinding">REPLACE_EXISTING</prop><!-- import strategy -->
  20.                     <prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</prop>
  21.                     <prop key="location">alfresco/module/watermark-auth-it-platform-jar/bootstrap/import-folders-and-files.xml</prop>
  22.                 </props>
  23.             </list>
  24.         </property>
  25.     </bean>
  26.  
  27.  
  28.  
  29. \watermark-auth-it\watermark-auth-it-platform-jar\src\main\resources\alfresco\module\watermark-auth-it-platform-jar\bootstrap\import-folders-and-files.xml
  30.  
  31.     <?xml version="1.0" encoding="UTF-8"?>
  32.     <view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
  33.            xmlns:cm="http://www.alfresco.org/model/content/1.0"
  34.            xmlns:app="http://www.alfresco.org/model/application/1.0"
  35.            xmlns:sys="http://www.alfresco.org/model/system/1.0"
  36.            xmlns:rn="http://www.alfresco.org/model/rendition/1.0">
  37.  
  38.     <cm:folder view:childName="cm:invite">
  39.  
  40.         <app:uifacets />
  41.         <cm:name>invite</cm:name>
  42.         <app:icon>space-icon-default</app:icon>
  43.         <cm:title>invite</cm:title>
  44.         <cm:description>Invite email templates</cm:description>
  45.  
  46.         <cm:contains>
  47.             <cm:content view:childName="cm:invite-email.html.ftl">
  48.                 <view:aspects>
  49.                     <cm:titled />
  50.                     <app:inlineeditable />
  51.                     <rn:renditioned />
  52.                     <cm:versionable />
  53.                     <cm:auditable />
  54.                     <sys:referenceable />
  55.                     <sys:localized />
  56.                     <cm:thumbnailModification />
  57.                 </view:aspects>
  58.                 <view:properties>
  59.                     <app:editInline>true</app:editInline>
  60.                     <cm:description>This is a custom invite-email template.</cm:description>
  61.                     <cm:content>contentUrl=classpath:alfresco/module/watermark-auth-it-platform-jar/bootstrap/email_templates/invite-email.html.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=el_GR_</cm:content>
  62.                     <cm:title>Invite email</cm:title>
  63.                     <cm:name>invite-email.html.ftl</cm:name>
  64.                     <cm:author>System</cm:author>
  65.                 </view:properties>
  66.                 <view:associations></view:associations>
  67.             </cm:content>
  68.         </cm:contains>
  69.  
  70.     </cm:folder>
  71. </view:view>
  72.  
  73.  
  74. <html>
  75.  
  76.  
  77. \watermark-auth-it\watermark-auth-it-platform-jar\src\main\resources\alfresco\module\watermark-auth-it-platform-jar\bootstrap\email_templates\invite-email.html.ftl
  78. (our ftl)
RAW Paste Data
Top