cancel
Showing results for 
Search instead for 
Did you mean: 

configuration

sunitha
Champ in-the-making
Champ in-the-making
hi all..
when i done any configurations on web-config-custom.xml the privious configurations are not working..
could you people give me answer for this..
thanks..
25 REPLIES 25

mitpatoliya
Star Collaborator
Star Collaborator
could you post your web-client-config-custom.xml file?
may be you are not putting config tags properly.
Also when you say previous configuration you are talking about OOTB  configuration or your custom configuration?

sunitha
Champ in-the-making
Champ in-the-making
hi..
really thank you for your reply..
I am adding my own cutom configurations..here is my web-client-config-cutom.xml file..
check my xml file and give me a suggestion..and can u help me in adding my own menu items to alfresco…
thanking you…


      web-client-config-custom.xml..


    <alfresco-config>

    <config evaluator="string-compare" condition="Content Wizards"> 
    <content-types> 
    <type name="ci:claimintimation" /> 
    </content-types> 
    </config> 
    <config evaluator="node-type" condition="ci:claimintimation"> 
    <property-sheet> 
    <show-property name="ciSmiley TongueolicyHolderName" /> 
    <show-property name="ciSmiley TongueolicyNumber" />
    <show-property name="ci:dateofBirth"/>
    <show-property name="ci:addressForCommunication" /> 
    </property-sheet> 
    </config>

    <!–<config evaluator="string-compare" condition="Content Wizards"> 
    <content-types> 
    <type name="z:employee" /> 
    </content-types> 
    </config> 
    <config evaluator="node-type" condition="z:employee"> 
    <property-sheet> 
    <show-property name="z:empID" /> 
    <show-property name="z:empCity" />  
    <show-property name="z:joinDate" /> 
    </property-sheet> 
    </config>–>

    <!–  add webable aspect properties to property sheet –>
    <config evaluator="aspect-name" condition="sc:webable">
      <property-sheet>
         <show-property name="scSmiley Tongueublished" display-label-id="published" />
         <show-property name="sc:isActive" display-label-id="isActive" read-only="true" />
      </property-sheet>
   </config>

   <!–  add product related aspect properties to property sheet –>
   <config evaluator="aspect-name" condition="scSmiley TongueroductRelated">
      <property-sheet>
         <show-property name="scSmiley Tongueroduct" display-label-id="product" />
         <show-property name="sc:version" display-label-id="version" read-only="true" />
      </property-sheet>
   </config>

   <!– show related documents association on doc property sheet –>
   <config evaluator="node-type" condition="sc:doc">
      <property-sheet>
         <show-association name="sc:relatedDocuments" />
      </property-sheet>
   </config>

   <!– show related documents association on whitepaper property sheet –>
   <config evaluator="node-type" condition="sc:whitepaper">
      <property-sheet>
         <show-association name="sc:relatedDocuments" />
      </property-sheet>
   </config>
      
   <!–  add someco types to add content list –>

   <config evaluator="string-compare" condition="Content Wizards">

      <content-types>

         <type name="sc:doc" />

         <type name="sc:whitepaper" />
      </content-types>
   </config>


   <config evaluator="string-compare" condition="Action Wizards">
       <!– The list of aspects to show in the add/remove features action –>
       <!– and the has-aspect condition –>   

      <aspects>

         <aspect name="sc:webable"/>

         <aspect name="scSmiley TongueroductRelated"/>

      </aspects>

      <!– The list of types shown in the is-subtype condition –>
      <subtypes>
         <type name="sc:doc" />
         <type name="sc:whitepaper" />
      </subtypes>      

      <!– The list of content and/or folder types shown in the specialise-type action –>
      <specialise-types>
         <type name="sc:doc" />
         <type name="sc:whitepaper" />
      </specialise-types>      

   </config>   

   
   <config evaluator="string-compare" condition="Advanced Search">
      <advanced-search>
         <content-types>
            <type name="sc:doc" />
            <type name="sc:whitepaper" />
         </content-types>
         <custom-properties>
            <meta-data aspect="sc:webable" property="scSmiley Tongueublished" display-label-id="published" />
            <meta-data aspect="sc:webable" property="sc:isActive" display-label-id="isActive" />
            <meta-data aspect="scSmiley TongueroductRelated" property="scSmiley Tongueroduct" display-label-id="product" />
            <meta-data aspect="scSmiley TongueroductRelated" property="sc:version" display-label-id="version" />            
         </custom-properties>
      </advanced-search>
   </config>

    
      <config>
      <actions>
      <!– Launch Add Aspect Dialog –>
      <action id="add_aspect">
         <label>Add Aspect</label>
         <image>/images/icons/add.gif</image>
         <action>dialog:addAspect</action>
      </action>
        
      <!– Add action to more actions menu for each space –>
      <action-group id="space_browse_menu">
         <action idref="add_aspect" />
      </action-group>
      </actions>
       </config>




     <config evaluator="string-compare" condition="cm:folder icons">
      <icons>
      <icon name="space-icon-custom" path="/images/icons/space-icon-custom.png" />
     <icon name="space-icon-custom" path="/images/icons/another-custm-icon.png"/>
       </icons>
        </config>


         <!– <config>
      <client>
         <login-page>/jsp/extension/login.jsp</login-page>
      </client>
         </config>–>


        <config evaluator="string-compare" condition="Views">
      <!– the views available in the client –>
      <views>
         <!– default values for the views available in the client –>
         <view-defaults>
            <browse>
               <!– allowable values: list|details|icons –>
               <view>details</view>
               <page-size>
                  <list>20</list>
                  <details>20</details>
                  <icons>20</icons>
               </page-size>
            </browse>
         </view-defaults>
         </views>
         </config>


         </alfresco-config>

Hi Sunitha,
Can you please attach your web-client-config-cutom.xml file ?

hi..
i will place my web-client-config-custom.xml file…please give me suggestions…
thanks..

muralidharand
Star Contributor
Star Contributor
You can't attach xml file, so convert into .txt file and attach it.

Hi murali..
i converted into txt file and paste it.but it can't visible in the forum..
how to paste my code into the forums..
and i have a doubt about taggingsample in the sdk..rule based action was not executing..it showing the error message liki this..


Please correct the errors below then click Finish.

    Failed to run Actions due to error: 01210021 A value for the mandatory parameter tags has not been set on the rule item tag


could you please help me..
thanks…

After converting into text file , please attach it. Don't paste it in the forum reply.

sunitha
Champ in-the-making
Champ in-the-making
hi ..
i converted my file into txt file and i uploaded but it's not visibled in forums..
please help me in getting the solution of sdk taggingsample…

when i executing the add tags to item it showing the error as mandator parameter tag has not set on the rule item…

Thanks,
sunitha..

Hi Sunitha,
Which version of alfresco you're using?  or the SDK version, please.