cancel
Showing results for 
Search instead for 
Did you mean: 

Custom datalist, which file and folder to use

johank
Champ in-the-making
Champ in-the-making
Hello,

I'm trying to make my own custom datalist. After searching for tutorials I get a little confused: I need to make my own customModel.xml and a context.xml in the "extension" folder. So far, so good… But the first tutorial tells me to edit web-client-config-custom.xml in the "extension" folder, another tutorial tells me to edit the file share-config-custom.xml in the "web-extension" folder.
What is the truth here?

I also got a problem with the columnorder. In the xmls I create the following order:
ID
Description
Startdate
Actionee

But when i create the list in my site the order is:
Actionee
Startdate
Description
ID
Also a couple of other fields like Creator, modifier, dates, etc are added to the list.

Can someone explain how to get the order of the columns right and how to lose the extra fields? I'm using 4.2.e

Thnx in advance!

Regards,

Johan
2 REPLIES 2

tsafarog
Champ on-the-rise
Champ on-the-rise
I am confused

you have created your model and your problem is the table view of Document listing?

Because you can create your own custom table view with the order you like

you mean this? http://docs.alfresco.com/community/concepts/share-customizing-document-library-views.html

I also had a problem with table view

check my post and how i solved it

https://forums.alfresco.com/forum/developer-discussions/content-modeling/repository-table-view-prope...

johank
Champ in-the-making
Champ in-the-making
Thanks for the response tsafarog.
I had a problem with the custom datalist. But did some more research and found out that I have to use the share-custom-config.xml to display my custom datalist in share. And with the appearance tag I can create the right order for my colums.