Alfresco property page default values should not be default in advance search screen - alfresco

In alfresco content model I have made some default values and I can see it on the Alfresco property page in share UI.
I used following tag in content model to make No as a default value.
<default>No</default>
But the requirement is, it should not be default on advance search screen.
Is it possible to customize this as per my requirement? If yes, then what files need to be changed and how. please share the sample script of possible.

Related

Cant see Magnolia CMS Page dialog

I am following the Magnolia CMS documentation -
Creating Page Template. https://documentation.magnolia-cms.com/display/DOCS/Creating+a+page+template
How can I see the properties listed on one-pager-module/dialogs/pages/main.yaml ?
Thanks
How can I see the properties listed on one-pager-module/dialogs/pages/main.yaml ?
Those are dialog fields. For list of possible types of dialog fields see https://documentation.magnolia-cms.com/display/DOCS/List+of+fields
If what you want to see are actual properties with values in a page created by that dialog, log into AdminCentral, go to Tools menu and open JCR Browser in there, select "website" workspace and in the displayed tree of pages expand one you have created. It will list all the properties with their values.
HTH,
Jan
I assume you are looking for all possible options of main.yaml, therefore since its a template definition, one can find the relevant information from: https://documentation.magnolia-cms.com/display/DOCS/Template+definition
Cheers,

property page customization for dropdown list in alfresco 5.0 d

i am having multiple field sets in alfresco document property page, and i want to show only one at a time based on the value i will select from drop down.
can you please help me to achieve it on my alfresco property page.
Its really on high priority.
please suggest me something to do this.
Thanks in advance.
You can follow this tutorial.
In this case, the property is for profile page. You have two examples: "Shirt Size" and "Likes Neil Diamond?"
Let me know if it results.

Customizing Search in Orchard

Is there any option to completely control a Search module with a Summary view? I am struggling to get there. I have the following settings so far:
In admin I created an Index called PublicSearch with a number of fields.
I am getting a search result which is a mixture of two content parts - Question and Expert
I have a Part view to be used in search result for Experts called ExpertSummary.cshtml. The view only contains the following elements now:
#model dynamic
<p>Expert Summary</p>
When the search result is coming I only expect the "Expert Summary" to be visible in Expert region of the Search but I am getting an additional "body" section (truncated to X characters). It seems to me because "body" is selected as a field when I created the Index it is coming up.
Each Expert record has an image of expert which is coming up in the search result and When I take out <Place Fields_MediaPicker="Content:1" /> from Placement.info it disappears, which is fine.
But I want this summary to be completely controllable in ExpertSummary.cshtml - like a two column layout where the left col will hold the expert image and the right one will hold a brief description along with some other info - but everything would be in the View - should not come from Orchard search module as defaults.
In short I want Orchard's Index and Search modules to be functional and working like it is now but the layout and information I want to control completely using custom HTML in Parts/ExpertSummary.cshtml view.
Is this at all possible? If yes, how?
Please suggest. I am completely lost my way in Orchard framework!
I'm not completely sure I understand your question... Orchards search returns a Summary view by default. So you need to control the layout of your summary. Use shape tracing to create a new alternate to change the layout of the summary view. So ExpertSummary won't control the entire layout, it will just control the Expert part. Then use placement to decide what to display. http://docs.orchardproject.net/Documentation/Understanding-placement-info
Also, tagging questions with "orchardcms" will be more useful than "orchardcms-1.7".

Using Custom views in SP2013 document sets

In sp2010 with a document set content type in a library i can have a default view on the library, showing my document set content types and on the welcome page of the content type i can define a different view showing the detail of the documents in the set...
In sp2013 I cannot see a mechanism of doing this. The document set welcome page holds a document set contents web part that will not allow me to set the view, it picks up the default view of the library... Has anyone figured out how to do this?
I don't have access (or skills) to visual studio, but am quite familiar with sp-designer and infopath, though i am hoping that it can be achieved through the SP UI
Thanks
Create your view in the Document Library, then in your library settings, click on your Document Set content type and then select Document Set Settings.
On this page you should see a "Welcome Page View". You can select your view from the drop down box.

Alfresco 3 Labs: Adding a thumbnail to a document

Hey guys! Any Alfresco experts out there?
I have created a document type in Alfresco and am trying to associate it with an image -- Somehow. I don't really mind how it's done - an image uploader in the metadata section when saving the actual document would be nice, but I can live with having to upload the image first and then associating it somehow with the document.
Any ideas..?
First read how to create relationships between nodes (the nodes being a document and an image).
Then implement it within a custom dialog.
Have you taken a look at the thumbnail service? It allows you to create thumbnails of documents / images. This is the official doc and a good blog post here.
Even if you don't use it, you can take a look at how its content model works and implement something similar.

Resources