fmeAG / fme-alfresco-extensions

Automatically exported from code.google.com/p/fme-alfresco-extensions
0 stars 1 forks source link

datalist export/filter for custom datalist with own namespace #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tks for this great alfresco extension.
It is working fine on Community 4.0d with built-in datalists.
Unfortunately, it doesn't work with custom datalists.

What steps will reproduce the problem?
1. extract fme-extended-datalist-context.xml to 
\Alfresco\tomcat\shared\classes\alfresco\extension\fme
2. add following lines to the xml file
<property name="models">
 <list>
  <value>alfresco/extension/fme/fmeDatalistModel.xml</value>
  <value>alfresco/extension/cicCustomModel.xml</value>
 </list>
</property>

<property name="datalistTypes">
 <set>
  <value>cic:application</value>
</set>

<property name="modelOrder"> 
 <map> 
  <entry key="cic:application"> 
<value>dl:itemId,cic:appName,cic:appType,cic:appStatus,cic:appMainResp,cic:appBa
ckResp1,cic:appBackResp2</value> 
 </entry> 
3. Restart tomcat

What is the expected output? What do you see instead?
Filter is correctly displayed, but does not work: when a field value is 
selected and filter applied, the return list is always empty

Excel export raise the error:
04140003 Unexpected list type cic:application

What version of the product are you using? On what operating system?
Community 4.0d 64-bits on Windows 2008R2

Please provide any additional information below.

Tks in advance.
Thierry

Original issue reported on code.google.com by tpru...@yahoo.fr on 14 May 2012 at 2:52

GoogleCodeExporter commented 9 years ago
Hi Thierry,
I'm currently in vacations, thus I may not response promptly...

Regarding xls.export:
I haven't tested the extension with a custom list...but it should work. I 
didn't find any "Unexpected list type" logging - can you pls attach the log 
file.

Regarding filter:
Pls add ${luceneQuery} to data.post.json.ftl or add logging in 
data.post.json.js & post the generated query here. Are you using lucene or solr 
(keep in mind that solr has some indexing latency)?
cheers, jan

Original comment by ecm.exp...@gmail.com on 16 May 2012 at 12:19

GoogleCodeExporter commented 9 years ago
Hi Jan,
enjoy your vacations, it's much more important than my issue!!

For when you'll be back...

xls.export:
please find attached the html page I get when I click on the Export button + 
tomcat log

filter:
I'm using lucene.
Could you be a little bit more specific: where in the code of 
data.post.json.ftl should I add the $(luceneQuery)? (I'm not familiar with Java 
at all)

Kind regards
Thierry

Original comment by tpru...@yahoo.fr on 16 May 2012 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I also noticed, that viewitem function from datagrid does not work with custom 
datalists.

Best regards,
Giedrius

Original comment by Giedrius...@gmail.com on 30 May 2012 at 2:46

GoogleCodeExporter commented 9 years ago
Hi Jan,

I have got same error for xls export for my custom datalist.

Help please?

Thanks

Original comment by krupsonl...@gmail.com on 1 Aug 2012 at 9:13

GoogleCodeExporter commented 9 years ago
I'll update the trunk with a 4.0 compliant version that also better suppports 
custom datalists within the next weeks

Original comment by ecm.exp...@gmail.com on 1 Aug 2012 at 9:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
hi Jan,

Can you please guide me for the changes (if I can do) needs to be done to run 
export feature for custom datalist without error?

Thanks

Original comment by krupsonl...@gmail.com on 5 Aug 2012 at 10:07

GoogleCodeExporter commented 9 years ago
hi,
as mentioned before: I'll update the trunk with a 4.0 compliant version that 
also better suppports custom datalists within the next weeks.
cheers, jan

Original comment by ecm.exp...@gmail.com on 10 Aug 2012 at 8:19

GoogleCodeExporter commented 9 years ago
Hey Jan, 
Thank you for replying back.
I now am able to export my custom datalist. But I am still not able to use 
comments thread with existing datalist or my custom model in 4.0.d. Hope to get 
it working soon.
Thanks

Original comment by krupsonl...@gmail.com on 10 Aug 2012 at 8:27

GoogleCodeExporter commented 9 years ago
Just wanted to touch base and see how the 4.0 compliant version was coming 
along.  

Original comment by jason.sc...@rocketmail.com on 4 Sep 2012 at 7:34

GoogleCodeExporter commented 9 years ago
4.x compatible version:
https://github.com/deas/fme-alfresco-extdl

Original comment by ecm.exp...@gmail.com on 20 Aug 2013 at 2:10