cancel
Showing results for 
Search instead for 
Did you mean: 

Customise Share Datalists

jpashley
Champ in-the-making
Champ in-the-making
Hi,

I am trying to extend the list of entries in the Share datalists.

I've got the following:
LOCATION: ..\tomcat\shared\classes\alfresco\extension
Model: issuesDataListModel.xml
Context: issues-datalist-model-context.xml
Properties: issues-datalist-model.properties
LOCATION: ..\tomcat\webapps\share\Web-inf\classes\alfresco\web-extension
Config: fdk-config-custom.xml

The model loads with no errors in the error log but I can't see the new datalist entries in the site's datalist.

Q: How can I get the new entries to show up amongst the existing datalist entries.

Tks for any assistance.
John
8 REPLIES 8

jpashley
Champ in-the-making
Champ in-the-making
Hi,
I've now succeeded in displaying the datalist but have the following problems:
If I omit the line:
         <parent>dl:dataListItem</parent>
from the model the form shows correctly but the datalist option doesn't show on the datalist menu option.
If I include the line:
         <parent>dl:dataListItem</parent>
then I get additonal fields like "Last accessed Date", "Modified Date", "Created Date", "Creator" and "Modifier" mixed in with the required fields.

Also the "Attachment" field throws the following exception when I try to insert an attachment:
01120004 Wrapped Exception (with status template): 01120003 Error during processing of the template 'get(siteShortName) failed on instance of org.alfresco.repo.template.TemplateNode'. Please contact your system administrator.

I have a issue-datalist-config.custom.xml file and have tried to "hide" these fields as suggested in a previous post. But this makes no difference.

It seems that the issue-datalist-config.custom.xml is not doing anything at all because if I omit this file altogether the datalist shows just the same.

The final problem is how to load the *.properties file?

I have stored all my files in ..\tomcat\shared\classes\alfresco\extension assuming this is correct?

I don't get any errors when starting tomcat.

Hoping for any help.

John

mcl
Champ in-the-making
Champ in-the-making
Dear John

I think your properties file belongs into:
tomcat\shared\classes\alfresco\web-extension\messages

(However I'm only a rookie myself.)

Good luck
Marco

igneus
Champ in-the-making
Champ in-the-making
was this resolved?
i'm having the same issue with additional fields showing in custom datalist…

katchem
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to create custom data list in Alfresco Share 3.4d.
I install alfresco alfresco-community-fdk-3.4.d.amp and alfresco-fdk-3.4.d.jar like tutorials describe http://wiki.alfresco.com/wiki/Forms_Development_Kit#Examples
Then I copy the files that we can find in the example http://forums.alfresco.com/en/viewtopic.php?f=48&t=38553
If I want to create a new dataList into site, appear a new list "issue data list" and I can create one.
That's it's ok so far.
But if I try to create one item for my new list then appear a popUp with this error:

Could not load dialog template from '/share/service/components/form?itemKind=type&itemId=scidl:issuesList&destination=workspace://SpacesStore/a5b0223f-7948-47be-95a0-7c4edb284e47&mode=create&submitType=json&showCancelButton=true'.

Some idea?

Thanks in advance

aitbenmouh
Champ in-the-making
Champ in-the-making
Hello Katchmen i have the some problem if you found the solution please post it here .

aitbenmouh
Champ in-the-making
Champ in-the-making
Hi i resolved the problem now just comment the ftl files in your fdk_custom file like this :
   <!–   <create-form template="../data-lists/forms/row-new.ftl" />–>

cool123
Champ in-the-making
Champ in-the-making
Sir, Can you tell me, how to create a new customized data list and how many files i have to made.

Thanks in Advance.

grapheus
Champ in-the-making
Champ in-the-making