Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Alfresco - Advanced search customization

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

I am developing a document management solution using Alfresco 3.0.

We are having lots of custom content types and aspects covering all departments of our organization.

How can we extend Alfresco advanced search to generate custom fields dynamically in Additional Options, when I
select any particular Content Type from drop down?

Is it possible to write some class by extending existing classes of Alfresco and dynamically overriding Additional Options pane?

Thanks,
Naveen
 
author
Posts: 23909
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It seems someone accidentally moved a book promotion topic out of the forum running the book promotion. Moving topic back to EJB forum.

Henry
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
one option is to define the custom fields for each aspect or type in your web-client-custom.xml

More information on that method can be found in the Alfresco Wiki: http://wiki.alfresco.com/wiki/Web_Client_Customisation_FAQ
 
Navin Porwal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jessica,

My requirement is little dynamic here.

I am having approximately 40 document types and overall 150 search fields associated with all content types.

If I configure all 150 fields in search page than it will not look good to client.

So I want to generate fields associated with content types or aspects dynamically in Additional Options on clicking of Content Type drop down.

Thanks,
Naveen
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can specify properties based on aspect-type or node-type, this way only properties associated with the particular type or aspect will be displayed. There may be a more dynamic way to do it, but I'm not aware of it, hopefully someone else can pipe in.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Navin Porwal wrote:Thanks Jessica,

My requirement is little dynamic here.

I am having approximately 40 document types and overall 150 search fields associated with all content types.

If I configure all 150 fields in search page than it will not look good to client.

So I want to generate fields associated with content types or aspects dynamically in Additional Options on clicking of Content Type drop down.

Thanks,
Naveen



Hello Navin ,

I too have a same requirement

Did you find any workaround/solution for this ?? If yes, please let me know

Regards,
Ashwini
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic