Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
db.enabled=true in database.properties
Matias
Hello,
I'm trying to configure a DataDeploy Mapping file similar to the FAQ sample in the SP Developer's guide. I followed the instructions to extract the Title from the /Content/Title element.
However, It didnt seem to be working until I set the db.enabled=true in database.properties.
The problem is that as soon I did that, OD asked me for a DataDeploy license.
The reason for it is that I'm using LSCS and I have a need to display Title and Summary of all Press Releases in a list.
Is there any other way to achieve this without having to retrieve the content for each press release?
Find more posts tagged with
Comments
Rick Poulin
You're barking up two completely different trees.
db.enabled=true was the LiveSite 3.1 way of doing dynamic content. It used DataDeploy to push content to a database using predefined schemas, and you therefore need DataDeploy AND a database for this purpose.
If you already have LSCS set up, you don't need db.enabled=true. The LSCS deployment will deploy your content along with any EAs to the database. It sounds like what you're looking for is
a) use workflow to set Title and Summary as extended attributes *before* you publish any press releases;
b) use the usual LSCS authoring deployment to push it out to LSCS; and
c) use an LSCS component in your page with an appropriate LSCS query that will return the results you seek (see the LSCS API)
Matias
Thanks Rick!
Out of the box, LSCS comes with some samples like NewsArticles and Blogs. It seems that there is a mapping that allows the title to be indexed as /Content/Title. Is this located in /iw-cc.war/WEB-INF/conf/livesite/fieldmappings:
-rw-r--r-- 1 root root 3560 Oct 26 16:22 BlogEntryFieldMappings.xml
-rw-r--r-- 1 root root 3345 Oct 26 16:22 ContentFieldMappings.xml
-rw-r--r-- 1 root root 3748 Oct 26 16:22 EventFieldMappings.xml
-rw-r--r-- 1 root root 2079 Oct 26 16:22 ImageFieldMappings.xml
-rw-r--r-- 1 root root 3634 Oct 26 16:22 NewsFieldMappings.xml
-rw-r--r-- 1 root root 1262 Oct 26 16:22 SiteFieldMappings.xml
-rw-r--r-- 1 root root 598 Oct 26 16:22 StandardFieldMappings.xml
This seems to do the trick. Have you ever seen this or used it?
Rick Poulin
Right, yes, I'd forgotten about those.
Remember though, that those should be edited in iw-home/local/config/lib/content_center/livesite_customer_src and not directly in iw-cc.war.