Tuesday 17 December 2013

Document Metadata Sets & Types


Document types and metadata sets are new emphasizes in Liferay 6.1. The point when a client assigns a document type to a document, the client is obliged to round out the fields characterized by the metadata set of the document type.Clients not to neglect to enter important data about their doc. In Case of point, you could make a "copyrighted" document type and oblige clients to enter a permit for all "copyrighted" documents. All the more vitally, document types and metadata sets can enhance report searchability. The values that clients enter into the fields determined set by their document type's metadata set get searchable substances inside the entrance. You can utilize Liferay's scan portlet to hunt down these terms. Document types and metadata sets are receptive from the Manage Button at the highest point of the Documents and Media portlet window.





Figure 4.3: Document Types Dialog Box


You can include another document sort utilizing the Add button at the highest point of the dialog box. To do along these lines, you have to characterize one or more metadata sets to take up with your document type. The point when making another document type, you can characterize "Main Metadata Fields" or select "Additional Metadata Fields". Main metadata fields are specifically fixed to their document type and can't be made accessible to other document type. Extra metadata fields, by differentiation, might be characterized freely and could be utilized within numerous distinctive document type. You can separate the record sorts that actualize the same extra metadata set by characterizing diverse principle metadata fields for them. Be that as it may, Additional metadata fields need to be characterized and spared before making a document type that will implement them.


Figure 4.4: Adding a New Document Type


As a sample, we could make an document type called "Syllabus" and characterize a metadata set. What metadata would it be advisable for us to take up with syllabi? We should pick for our syllabi to have course title, professor, semester, course depiction and course necessities fields. All syllabi in our gateway might as well keep up entrances for these fields. This guarantees that a syllabus will appear in an entryway look assuming that its course title, educator or semester is hunt down. Since we would prefer not to utilize our metadata set for any record sort other than "Syllabus," we should make our metadata set under the Main Metadata Fields range. Then again, we could make our metadata set autonomously utilizing Manage → Metadata Sets → Add and afterward select it as an Additional Metadata Field.

Figure 4.5: Selecting Additional Metadata Sets


Manage → Metadata window you can see, alter or include metadata sets.. A metadata set comprises of a gathering of fields. In the event that you click the Add button, you can utilize same UI for characterizing a metadata set that you utilized as a part of the Add Document Type window.

Figure 4.6: Adding a New Metadata Set


Verify the Fields tab is chosen on the left. At that point, to characterize a metadata set, simply pick fields to use from the area on the left and move and customize them into the region on the right. The modifiable interface considers settled fields so you have to be cautious about where you drop the fields. Default values, mouse-over tips, widths and different settings might be arranged for generally fields. To arrange these settings, simply two fold click on a field from the region on the right. This immediately chooses the Settings tab on the left. At that point twofold click on a quality to alter. Liferay supports the accompanying sorts of fields for metadata sets:

Boolean: is a checkbox.


Date: gives you a chance to enter a date. A good date organization is needed for the date field, however you don't need to enter a date physically. When you select the date field a scaled down timetable pops up which you can use to select a date.


Decimal: gives you a chance to enter a decimal number. The quality will be endured as a double.

Documents and Media: gives you a chance to select an index from one of the portal's Documents and Media libraries.

File Upload: gives you a chance to select index to transfer from your neighborhood local system.

Integer : gives you a chance to enter a Integer.The quality will be held on as an int.

Number: gives you a chance to enter a decimal number or a whole number. The worth will be held on either as a double or an int, contingent upon the kind of data.

Radio: shows a few clickable choices. The default number is three yet this is customizable. One and only choice might be chosen at a time.


Select: is much the same as the radio field with the exception of that the choices are stowed away and must be gained entrance to from a drop-down menu.

Text: gives you a chance to enter a one line of content.


Text Box: is much the same as the Text field aside from you can enter various lines of content or differentiate sections.

Recollect that metadata sets made freely are reusable. When they have been made they might be incorporated in any number of document types as extra metadata sets. Next, we should investigate tags. Tags could be appended to most types of web substance that might be made in Liferay, incorporating documents. 



Ray Business Technologies Pvt Ltd, www.raybiztech.com , is a global Information Technology (IT) Services and Solutions company. Raybiztech offers comprehensive end-to-end IT Services for Business Application Development & Maintenance, Enterprise Solutions, Testing & Quality Assurance, Embedded Systems, Cloud Computing and IT Infrastructure Management to organizations in the Banking & Financial Services, Insurance & Healthcare, Life Sciences, Manufacturing, Retail, Distribution & Logistics, Media & Entertainment, Leisure & Travel, Communication, Energy & Utilities, Federal Government verticals and Independent Software Vendors. Raybiztech's innovative IT Solutions in Enterprise Resource Planning (ERP), Enterprise Portals and Content Management (EPCM), Customer Relationship Management (CRM), and Enterprise Mobility including Product Development and Life-Cycle Support, have resulted in significant strategic and cost advantage for their clients worldwide.

Raybiztech is now leading the way in powering next-generation enterprises with its Cloud, Mobility, Big Data and Social Media solutions. Our excellent team of Technology Professionals work with enterprise clients in North America, Latin America, Australia, Europe, Middle East and Asia.


No comments:

Post a Comment