Copy Paste Clip number :
 

Copy-Paste anything you want, then get it from anywhere.


Clip number :   0IIRXQ
Direct URL :   http://www.heypasteit.com/clip/0IIRXQ
Date :   2017-08-31 13:13:51
Download as file
<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
   <template-type>alvex/alvex-task-page</template-type>
   <properties>
      <pageFamily>documentlibrary</pageFamily>
   </properties>

   <components>
      <!-- Title -->
      <component>
         <region-id>title</region-id>
         <sub-components>
            <sub-component id="default">
               <evaluations>
                  <!-- if referred from my tasks page: My Tasks title -->
                  <evaluation id="tasks">
                     <evaluators>
                        <evaluator type="equals.component.evaluator">
                           <params>
                              <referrer>{referrer}</referrer>
                              <tasks>tasks</tasks>
                           </params>
                        </evaluator>
                     </evaluators>
                     <url>/components/title/simple-title</url>
                     <properties>
                        <title>title.myTasks</title>
                     </properties>
                  </evaluation>
                  <!-- if referred from my workflows page: My Workflows title -->
                  <evaluation id="workflows">
                     <evaluators>
                        <evaluator type="equals.component.evaluator">
                           <params>
                              <referrer>{referrer}</referrer>
                              <workflows>workflows</workflows>
                           </params>
                        </evaluator>
                     </evaluators>
                     <url>/components/title/simple-title</url>
                     <properties>
                        <title>title.myWorkflows</title>
                     </properties>
                  </evaluation>
               </evaluations>
            </sub-component>
         </sub-components>
      </component>
      <!-- WebPreview -->
<component>
 <region-id>web-preview</region-id>
 <sub-components>
    <sub-component id="default">
       <evaluations>
          <evaluation>
             <evaluators>
                <evaluator type="config.component.evaluator">
                   <params>
                      <element>DocumentDetails/document-details/display-web-preview</element>
                   </params>
                </evaluator>
             </evaluators>
             <url>/components/preview/web-preview</url>
             <properties>
                <nodeRef>{nodeRef}</nodeRef>
                <api>api</api>
                <proxy>alfresco</proxy>
                <dependencyGroup>document-details</dependencyGroup>
             </properties>
          </evaluation>
       </evaluations>
    </sub-component>
 </sub-components>
</component>    
   </components>

</template-instance>
© 2017  HeyPasteIt.com  -  All rights reserved.