catolicasc / alfresco-form-model-management

Automatically exported from code.google.com/p/alfresco-form-model-management
0 stars 0 forks source link

Merge metadata forms on edit page #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I decided to use my own search profiles and content types with applied aspects 
to manage metadata. 
Your Form Management tool would be great to edit the applied aspects. 

Is it possible to deactivate the separation of the input fields (standard left 
/ your form right) at the edit metadata page?

Original issue reported on code.google.com by franzfor...@googlemail.com on 21 Sep 2012 at 7:49

GoogleCodeExporter commented 8 years ago
Do you mean, use the Form Management for all properties and just have one form?

Can you explain what you are trying to do in a bit more detail. I'm not sure I 
understand what you are trying to do.

Original comment by mike.pri...@abstractive.ca on 21 Sep 2012 at 7:57

GoogleCodeExporter commented 8 years ago
There is no reason why you couldn't use the FM instead of the regular edit 
metadata form. However, you need to make sure that you have forms in FM for the 
cm:content model. 

You can create dummy aspects that do not register with Alfresco. They are 
simply forms that can be used for already bootstrapped models such as the 
cm:content model. You would create a form for your usual properties such as 
title, description etc.. then you would replace the edit-metadata form; Dummy 
aspects can be created in the latest build. Essentially check the "is dummy" 
checkbox when creating an aspect.

Original comment by mike.pri...@abstractive.ca on 21 Sep 2012 at 8:01

GoogleCodeExporter commented 8 years ago
I wanted to do it in another way.

I already have created forms for some types and for search. For these types 
also I have created some aspects. 
What I wanted to do is to use your model management to replace these aspects, 
so I can maintain these properties with your GUI. 
The only problem that I see is that on default during metadata edit beside of 
the usual type properties the properties of your tool are displayed. Is it 
possible to disable this split screen?

Original comment by franzfor...@googlemail.com on 24 Sep 2012 at 7:45

GoogleCodeExporter commented 8 years ago
Hi there,

Alfrecso share splits up its forms for creation, edit and the simple metadata 
dialog view. Take a look in 
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/s
lingshot/config/alfresco/share-form-config.xml 

This has all of the default forms. Typically the evaluator model-type 
(Creation) and node-type (Editing) are what you are looking for. 

To accomplish what you are looking for you could do two things:

Copy the forms use replace="true" and put your own form config for editing 
documents. This way you can use the simple metadata view for basic information 
like title, description. You would then only see your form in the "Full edit 
properties" screen.

Alternatively you could use CSS to hide the Alfresco form by adding (Quick and 
dirty, but still runs the code to build alfresco's form so a performance is 
still a factor):

Search.css (http://localhost/alfresco/css/form-builder/share/search.css)

#fmEditMetadata .form-alf-wrapper {
   display:none;
}

Original comment by mike.pri...@abstractive.ca on 25 Sep 2012 at 7:59

GoogleCodeExporter commented 8 years ago

Original comment by mike.pri...@abstractive.ca on 1 Oct 2012 at 7:08