Site studio 10gr4 case study or learning material
hi All,
I need some learning material for site studio 10gR4, so any recommendations ?
thanks in advance
Hundreds are loving the new Site Studio now... even though they first found its new site design messy and annoying!
Here's another great resource - if you've seen the old Studio. It shows you why R4/11g is such a big deal. Its a fun read - check it out at
[http://stellentexperts.blogspot.com/2010/09/hundreds-are-loving-new-site-studio-now.html|http://stellentexperts.blogspot.com/2010/09/hundreds-are-loving-new-site-studio-now.html]
Best
Dmitri Khanine, Oracle ACE
www.stellentExperts.com
Author, The Oracle UCM Handbook
Discover Oracle UCM in a short afternoon. Tap into insider secrets. Master breakthrough shortcuts - to take your project and your career to the next level of success.
Grab your copy here: http://www.amazon.com/Oracle-Universal-Content-Management-Handbook/dp/1849680388
Similar Messages
-
Some questions related to site studio 10gR4
Hi everyone
We are developing a solution using UCM, and I have couple of questions regarding the usage of the site studio 10gR4.
It will be really great if any one of you can either answer or point me to the rite document/webpage where I can get these answers.
The requirement is, we are going to use the site studio to develop the page template, and place holder, region definitions, element definitions etc. And then the contributor will contributor will contribute content using the contributor mode. But, there is another website in which this page template will be embedded, a Java based website.
So it will be like, we create this page template, and call it inside a web application using CIS.
Now my questions are
Q1. Is there any service or CIS API to call page template? I have seen the page holder service, but don't know if there is any for page template.
Q2. If there is a service I can call Page template, will that page template be in HTML format including all the sub elements like place holder, region definition etc?
Q3. Now suppose if I am able to get all the required content using either the place holder or page template service call. Now I am displaying it to the user as an embedded content inside my other Java based website. Can I still do the Cntrl+Shift+F5 and call it in the contributor mode? If I am not, is there any way to achieve it? Because my contributors want to contribute while seeing the whole website and not just the embedded page template.
Q4. Can anyone tell me about all the services Site studio supports? or any document where I can find them?
Thanks in advance
Rupal chawlaThanks for the replies, but I have found the answers to all of the questions, i will put them here for others as well ...
Q1. Is there any service or CIS API to call page template? I have seen the page holder service, but don't know if there is any for page template.
Nope, there is no service to call Page template.
Q2. If there is a service I can call Page template, will that page template be in HTML format including all the sub elements like place holder, region definition etc
Since there is no service to call page template, this question remains invalid. However, the answer to the other part with reference to place holder will be, the place holder CIS call will return the HTML that can be embedded in the calling framework. This HTML will contain everything present inside the place holder like fragments, RD, RT etc.
Q3. Now suppose if I am able to get all the required content using either the place holder or page template service call. Now I am displaying it to the user as an
embedded content inside my other Java based website. Can I still do the Cntrl+Shift+F5 and call it in the contributor mode? If I am not, is there any way to achieve it? Because my contributors want to contribute while seeing the whole website and not just the embedded page template.
Atually the Cntrl+Shift+F5 generates an event which calls the begin_edit_session service, since we can associate this event with anything, it hardly matters if we are using Cntrl+Shift+F5 or a button click or a link on the page, the sole purpose remains calling the begin_edit_session service. In the contribution mode, we will only see the embedded part that is coming from the UCM and not if anything is present in in the embedding framework
Q4. Can anyone tell me about all the services Site studio supports? or any document where I can find them?
placeholder service, and begin edit session service, obviously there are many of them (you can see in <UCM>\CS\custom\SiteStudio\resources\ss_services.htm), but for CIS integration these are the useful one's.
Edited by: Rupal Chawla on 29-Sep-2009 22:44 -
Using the ssIncludeXml function in Site Studio 10gR4
Since the managed data file format has changed dramatically in Site Studio 10gR4, how do I still use ssIncludeXml to extract a particular element?
For example, a data file in Site Studio 10gR3 looks similar to this:
<region1>
<PageBody>
</PageBody>
</region1>
To extract the "PageBody" element I would use the ssIncludeXml function like this:
ssIncludeXml(dDocName,"region1/PageBody/node()")
In Site Studio 10gR4 a typical data file format looks like this:
<wcm:root>
<wcm:element name="PageBody">
</wcm:element>
</wcm:root>
How do I use the ssIncludeXml function to match the "PageBody" here?
Thanks!I'm trying to do this in Site Studio 11g and am having zero luck. I have an HCSP in Site Studio [which I am using to write XML] that is querying the system and returning a set of XML data files. In my HSCP, I have
<link><!--$$ssIncludeXml(dDocName, "wcm:root/wcm:element\[@name='url'\]/text()")--></link>
The XML documents' format is
<wcm:root version="8.0.0.0">
<wcm:element name="metadata"/>
<wcm:element name="url">http://www.cnn.com</wcm:element>
<wcm:element name="thumbnail"><img src="/cs/groups/internal/documents/digitalmedia/mdaw/mdex/~edisp/cf_12_831_ivolunteers_3_.jpg" alt="ivolunteers" /></wcm:element>
<wcm:element name="text">This is my link text</wcm:element></wcm:root>
When I run this, however, I get nothing returned (no errors either).
Frustration! :) Any ideas? -
How to get the dID of any Content from SS_DATAFILE in Site Studio 10gR4?
Hi,
I am trying to get the dID of a Contributor Data File from its dDocName (SS_DATAFILE). I can do a search based on this Content ID but if I am able to get the dID using one of the Site Studio variables, it will be great.
Thanks,
JustinHi Sapan,
I am trying to customize a Dynamic List element to display the list of related content for the contributor data file. For this, I use the GET_RELATED_CONTENT service exposed by the Oracle RelatedContent component which needs the dID as a parameter. Now in a Contribution Region, I can get the the dDocName (Content ID) of the datafile from the SS_DATAFILE Site Studio variable. However, I need to get the dID from this Content ID.
Thanks for your reply.
Justin -
Site Studio Contributor not opening in firefox
I am trying to open site studio contributor form in firefox and its not opening.
As soon as I clicked Shift+Ctrl+F5, on webpage, it asks me for login credentials, after sucessull login, i am not getting any option (icon) to edit region defination etc
Before entering into site studio contributor entries are like:
var _U = "undefined";
var g_HttpRelativeWebRoot = "/idc/";
var SSContributor = false;
var SSForceContributor = false;
var SSHideContributorUI = false;
After going into contributor entries are like:
var _U = "undefined";
var g_HttpRelativeWebRoot = "/idc/";
var SSContributor = true;
var SSForceContributor = false;
var SSHideContributorUI = false;
I am using site studio designer (Version 10gR4 10.1.4.5.0 and component version 7.7.0.1 Build 9.0.0.470).
Please provide if you have any solution or information to fix the issue, I have tried the using different systems/machines having firefox, but facing the same problemThis seems to be covered by the support note 1465975.1 (Unable to Enter into Site Studio Contribution Mode After Upgrading to Firefox 13)
The solution from the note:
If on an 10g system upgrade to Site Studio 10gR4 build 9.0.0.793 or greater.
If on an 11g system upgrade to Site Studio 11g build 11.0.0.786 or greater. For example the 11g MLR 11 for a .6 system has this fix and the 11g MLR 18 for a .5 system has this fix.
If the version is not available with the current patchset on the 10g Content Server please open a new Service Request with Oracle Support and reference this Note ID and the build will be provided.
(there are few more notes with similar issues, in case this remedy won't help, but it'll do no harm to start with it either way) -
Styling items in Site Studio Contributor
Hello,
Similar to the way that contributors can style text by assigning predefined CSS classes through the style drop-down menu in a Site Studio Contributor form, I would also like to give them the ability to style ordered lists and tables (border-type, mainly). Is this possible? I have tried specifying these styles to be added in the style drop-down menu with no luck, as it seems to ignore any non text-based styles with some exceptions. If accomplishing this is not possible, is there a way to pre-format these lists/tables and give contributors options to pick from? Using WYSIWYG elements is not an acceptable solution for me because most of my contributors do not know anything about HTML and CSS. I come from an Interwoven system that has many features available for administrators to set (which CSS classes are available, context-sensitivity of classes, etc.). I am wondering if there is something similar in UCM.
If I am unclear, please let me know and I will elaborate.
Thank you for your time.This seems to be covered by the support note 1465975.1 (Unable to Enter into Site Studio Contribution Mode After Upgrading to Firefox 13)
The solution from the note:
If on an 10g system upgrade to Site Studio 10gR4 build 9.0.0.793 or greater.
If on an 11g system upgrade to Site Studio 11g build 11.0.0.786 or greater. For example the 11g MLR 11 for a .6 system has this fix and the 11g MLR 18 for a .5 system has this fix.
If the version is not available with the current patchset on the 10g Content Server please open a new Service Request with Oracle Support and reference this Note ID and the build will be provided.
(there are few more notes with similar issues, in case this remedy won't help, but it'll do no harm to start with it either way) -
Character replacement script for Site Studio / idocscript
Working on creating and RSS feed of items in our CMS via the RSS feed component in Site Studio. I have the feed generating, but the Google Product search parser that I need to read the feed balks at odd (non-standard) characters like "o-slash" and an accented e. We have many items with foreign-language descriptions or authors from non-English countries that use characters outside of standard English.
I would have thought that using xml(parameter) would have solved this problem, but it does not.
At the moment, I'm "solving" this by individually locating the error and adding a "regexReplaceAll" for each one to change it to a somewhat acceptable alternative. It gets even tougher when, for example, I have to replace for the "o-slash" by using this:
<!--$theAuthor = regexReplaceAll(xCreator, "ø", "&#248;")-->
because the server recognizes the o-slash as ø, but the xml parser (Google Product search's data feed) will accept it only if I also make the ampersand in the entity an entity as well.
My question is... is there an easier way to find and replace for all these potential pitfalls? Is there a idocscript that someone has already written and is willing to share?
Thanks in advance for any help you can give.
Barry
(using Site Studio 10gR4)Thanks, but <!--$xml(descriptionText)--> doesn't seem to work for this parser (Google products data feed) and/or the characters that are being used.
For example, the output of <!--$xml(descriptionText)--> is this:
"...lleven un método efectivo para medir la satisfacción..."
and the error is this:
"Some of the characters in your items seem to be invalid.
...lleven un método efectivo para medir la satisfacción..."
So the parser is either seeing something different than what I see (even though we're reading the same file) or it just doesn't consider "é" and "ó" to be valid xml (and I have no idea if they are or not).
I have been asking for more guidance on the Google products board, too, but was hoping that there was something else that could be done from Site Studio end.
Thanks!
Barry -
Hello guys,
Can anybody provide me the link to download site studio 10gr4 ...please... I have searched a lot but could not find one....
Earlier like 4 months back i have downloaded from oracle ...but now i could not see itI expect you need to update the webserver config and restart.
e.g. Apache needs something like
<Location "/">
IdcSecurity myserver
</Location>
where 'myserver' will depend on your local install.
See section 2.4.2 here for mre details
http://download.oracle.com/docs/cd/E10316_01/SiteStudio/10gr4/Pdf/Site_Studio_10gR4_Installation_Guide.pdf -
Site Studio search query fails
Hi,
I am unable to list the site assets from site studio 10gr4. When I select any of the site assets in the drop down box to list the items (Example Element definitions, Region template et.,) the content servers throws the following error. Just to mentioned I have already set zone fields and optimized fields from Text Search Admin.
Indexed the content a couple of times, but of no use. Please help.
Event generated by user '<username>' at host '<hostname>'. Error generated when executing query '((( (((wsr) WITHIN xWebsites)) )) and ( ({Element Definition} WITHIN xWebsiteObjectType) ))'. Unable to execute query 'CotsSearchQuery'. ORA-20000: Oracle Text error:
DRG-50857: oracle error in ctx_query.result_set
ORA-20000: Oracle Text error:
DRG-13600: Syntax error in the result set descriptor at hitlist
DRG-10837: section DDOCNAME does not exist
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_QUERY", line 800
ORA-06512: at "<ucm-schema>.CONTENT_SEARCH", line 123
ORA-06512: at line 1
[ Details ]
An error has occurred. The stack trace below shows more information.
!csUserEventMessage,<user-name>,<server-name>!$!csOracleTextErrorExecutingQuery,((( (((wsr) WITHIN xWebsites)) )) and ( ({Element Definition} WITHIN xWebsiteObjectType) ))!csDbUnableToExecuteQuery,CotsSearchQuery!$ORA-20000: Oracle Text error:<br>DRG-50857: oracle error in ctx_query.result_set<br>ORA-20000: Oracle Text error:<br>DRG-13600: Syntax error in the result set descriptor at hitlist<br>DRG-10837: section DDOCNAME does not exist<br><br>ORA-06512: at "CTXSYS.DRUE"\, line 160<br>ORA-06512: at "CTXSYS.CTX_QUERY"\, line 800<br>ORA-06512: at "<ucm-schema>.CONTENT_SEARCH"\, line 123<br>ORA-06512: at line 1<br>
intradoc.common.ServiceException: !csOracleTextErrorExecutingQuery,((( (((wsr) WITHIN xWebsites)) )) and ( ({Element Definition} WITHIN xWebsiteObjectType) ))!csDbUnableToExecuteQuery,CotsSearchQuery!$ORA-20000: Oracle Text error:
DRG-50857: oracle error in ctx_query.result_set
ORA-20000: Oracle Text error:
DRG-13600: Syntax error in the result set descriptor at hitlist
DRG-10837: section DDOCNAME does not exist
ORA-06512: at "CTXSYS.DRUE"\, line 160
ORA-06512: at "CTXSYS.CTX_QUERY"\, line 800
ORA-06512: at "<ucm-schema>.CONTENT_SEARCH"\, line 123
ORA-06512: at line 1
at intradoc.server.SearchService.retrieveSearchInfo(SearchService.java:1315)
at intradoc.server.SearchService.doLocalSearch(SearchService.java:1045)
at intradoc.server.SearchService.getSearchResults(SearchService.java:528)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:128)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:113)
at intradoc.server.Service.doCodeEx(Service.java:505)
at intradoc.server.Service.doCode(Service.java:470)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
at intradoc.server.Service.doAction(Service.java:450)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
at intradoc.server.Service.doActions(Service.java:445)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
at intradoc.server.Service.executeActions(Service.java:431)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
at intradoc.server.Service.doRequest(Service.java:1709)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)
Thank you
Rama
Edited by: 798098 on Apr 28, 2013 8:44 PMHere are the indexer logs,
system 04.30 01:26:18.298 IdcServerThread-87 Unable to access idcVersionInfo() on class: intradoc.server.StatusMonitor
resourceloader 04.30 01:26:18.325 IdcServerThread-87 not loading page SYSTEM_AUDIT because it is up to date with timestamp 1272475673000
resourceloader 04.30 01:26:18.326 IdcServerThread-87 Checked resources files and 0 out of 85 have changed and it required 0 milliseconds to do the check
requestaudit 04.30 01:26:18.359 IdcServerThread-87 GET_SYSTEM_AUDIT_INFO [dUser=RKVADLAMUDI] 0.329(secs)
requestaudit 04.30 01:26:18.359 IdcServerThread-87 Ending request thread leaving behind 0 active request threads
requestaudit 04.30 01:27:01.247 tcp/9922 listener Initializing request thread with with thread name IdcServerThread-88 and 1 active request threads
requestaudit 04.30 01:27:01.359 IdcServerThread-88 CHECK_USER_CREDENTIALS [dUser=RKVADLAMUDI][StatusCode=0] 0.111(secs)
requestaudit 04.30 01:27:01.359 IdcServerThread-88 Ending request thread leaving behind 0 active request threads
requestaudit 04.30 01:27:01.362 tcp/9922 listener Initializing request thread with with thread name IdcServerThread-89 and 1 active request threads
system 04.30 01:27:01.365 IdcServerThread-89 Configuring tracing verbose: true; sections: system, idocscript, , indexer, indexerprocess, indexermonitor
system 04.30 01:27:01.947 IdcServerThread-90 Unable to access idcVersionInfo() on class: intradoc.server.StatusMonitor
indexer 04.30 01:27:09.868 IdcServerThread-92 Retrieving indexer workspace: Provider name is 'SystemDatabase'
indexer 04.30 01:27:22.457 IdcServerThread-93 Retrieving indexer workspace: Provider name is 'SystemDatabase'
(internal) 04.30 01:27:22.520 Text Fast Rebuild JdbcResultSet.next:Unable to retrieve next row. (Conversion to String failed)-exception stack
java.sql.SQLException: Conversion to String failed
at oracle.sql.Datum.stringValue(Datum.java:172)
at oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:683)
at intradoc.jdbc.JdbcResultSet.cacheCurrentRow(JdbcResultSet.java:733)
at intradoc.jdbc.JdbcResultSet.next(JdbcResultSet.java:586)
at intradoc.jdbc.JdbcResultSet.setQueryInfo(JdbcResultSet.java:147)
at intradoc.jdbc.JdbcWorkspace.createResultSet(JdbcWorkspace.java:717)
at oracletextsearch.indexer.OracleTextUtils.loadCollectionDesign(OracleTextUtils.java:861)
at oracletextsearch.server.OracleTextIndexerServiceHandler$2.doRebuild(OracleTextIndexerServiceHandler.java:366)
at oracletextsearch.server.OracleTextIndexerServiceHandler$2.run(OracleTextIndexerServiceHandler.java:332)
indexer 04.30 01:27:22.951 IdcServerThread-94 Retrieving indexer workspace: Provider name is 'SystemDatabase'
system 04.30 01:27:32.343 IdcServerThread-95 Unable to access idcVersionInfo() on class: intradoc.server.StatusMonitor -
BW Self learning project or case study
Hi All, Does anyone can help me to get BW Self learning project or case study, as due to my location and work nature I can't join BW project in class, as it demands access only from inside the college, can't access from remote location, but I do have BI7 and R3 access, thanks.
Hi Frank,
If you know already Bw then In IDES system work on demo cubes & itz reports...........
Hope it will help you..... -
Any learning material for beginners on Netweaver Developer studio 7.0
Please provide any learning material for Netweaver Developer studio on Java (EJB's and Web Dynpro) for beginners.
Hi Vasanta,
See this docs:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c
Tutorials & Samples for Web Dynpro Java [original link is broken]
Regards
Ivo -
Getting 404 while view in browser from the site studio desinger..10gr4
Hi ,
Thanks for the help guys.
I have a question here...I have created a website using site studio designer and a home page ..when i right click on the home page i have created...to view in the browser..its giving me 404 error...i am not sure whats the problem is...
the url looks like this
http://myucmIpAddress/sitestudiosamplewebsite/index.htmHi
Reason is you have missed out to make the config changes in Apache webserver's httpd.conf file . It should be like this :
<Location "/">
IdcSecurity idc
</Location>
Restart apache after this and then test .
Thanks
Srinath -
Oracle site studio designer 10gR4 Template problem
Hello To every body,
Our problem is that we want to implement css template in site studio but the changes which we make in the template are not reflected in the pages (either primary/secondary).
Is there any solution or any type of links/blogs/videos which can help us.
Thanks
VIDs.Have you checked-in that css files in content server?
-
Organization structure for Case study .... need yr advice
Hi I am in process of preparing an org structure for one of the company.
The company operations is like .
The company has four factories in different locations and have 3 Regional distribution centers (RDC) across india. Each distribution center has 5 branches (Sales Offices), in this way they 15 Sales offices across India.
Most of the materials are procured by factories independently while some materials are centrally procured. Factories produce Finish goods and they are either sale to customer directly ( big regular customers) , or transferred to RDC to cater the requirements of other MID size customers and the other possibility to transfer it to Branches for Retail customers. RDCs also transfer FG to Branches.
All factories , RDC and branches have warehouse facility , however branches have limited warehouse facility as the customers supported by them are very few and generally deliveries are made directly from RDC / Factory.
They also have one R&D department in another location to develop new products and material is generally transferred from factories to R&D department.They also have one project division at the same (R&D) location which handles commissioning of new plants and procurement of capital goods.
Raw Material , Semi finish and FG are transferred between factories and FG material is also transferred between RDCs.
The group also has another Company which produces another line of products. RDCs and Branches of first company also work for second company (which means same RDC can store FG produced by both companies) and also Branches can also have FG material of both companies. Second company doesnt have any specific R&D or capital division and R&D and capital of first company also work for second company.
Inter company transfer between both companies is a regular practice.
> Proposed Org structure
Company Group Company
Company Code First company and Second company
Factory Configurations
For first company
4 Factories will be 4 plants
Factories Structure (Storage locations / warehouses and storage type)
Since factories have different type of material ( like FG , Raw material , WIP ) therefore I am confused what option I should select
1) 3 storage location ( for each plant) and one warehouse, 1 storage type
2) 1 storage location and three warehouses (I think this is not possible in SAP , not sure ?? )
3) 1 storage location , 1 warehouse and 3 storage types
RDC structure
RDCs have full fledged warehouse facility and therefore thinking of making them also as Plant. Every RDC will have 6 Storage locations , 1 for First company RDC itself, 5 for associated branches and I feel each RDC storage locations should be a associated to a separate warehouse also.
( Since both companies produce different set of products therefore they will have different material and hence thinking of handling products of both companies in same plant and same storage location and warehouse , may be two storage type/area can be defined to differentiate material of both companies.)
Branches: Will be storage locations under RDC ..
While making branches as Storage location . I have another question about valuation , since material from Plant and RDC is being transferred to Branches and from there it is distributed to customers therefore the valuation of FG at BRANCH and RDC should be different as transportation cost , packing , unpacking etc cost should get added at Branch level.
Therefore in case I make branch as Storage location , I will miss the valuation part while if I make them as Plant then there will be lot of documents get generated for each movement. Hence not sure for what option I should go.
R&D:
Since R& D department is involved in testing in New Product development and generally material is required to be scrapped after testing therefore thinking of making it as Plant with one storage location and may be here I dont need any warehouse (WM) here.
Project Division
Project division may also be a separate plant with one storage location and NO WAREHOUSE is required to linked with it.
Purchase Organizations
4 purchase organizations for each plant respectively and 1 centralized purchase Org for central procurement.
Your all valuable inputs are welcome .... looking foward to have a best possible configuration for above mentioned case study.
RegardsPhew... long long question
The rule I generally follow is that the org structure should map reality.
Company code - where Balance Sheet and Profit and Loss are prepared at the end of the year. If an entity does not do this, it is not a company code.
Plant
1) Each manufacturing facility is a plant (could be in 1 location or separate).
2) Each separate location is a plant (even if it only stores goods). May be an overkill, but helps when legal requirements change or the location is upgraded.
So in your case, RDC will be a plant (may be more than 1 if necessary). R&D should be a separate plant without warehouse management
Storage location
The only rule I follow is that there should not be any overlap of storage locations. So physically, any area of say 1 square foot should belong to one and only one storage location. Otherwise there is a lot of confusion during physical inventory. So logical locations are a no-no.
I usually use a lot of storage locations.
Don't have a warehouse spanning multiple plants (even though it is allowed).
Purchasing organizations
Have one for each location of purchase. If there is a team sitting in each plant procuring for only that plant, have it as a separate purchasing org (not strictly necessary, but makes authorization simple). For central purchasing, a central purchasing org should do nicely...
Hope this helps,
Lakshman -
Metadata values not showing in Site Studio layout using Idoc Script
Hi All,
We have a SS layout (secondary) with replaceable regions for showing content that is listed in a primary page dynamic list.
Part of the layout shows contribution elements of Contributor Data File content items, but part of layout also shows metadata values. We use <!--$DOC_INFO.dDocTitle--> to show the content item Title with no problems.
However, for some content items, some metadata values are not showing on the layout - specifically a custom metadata field called xFinishDate (which is of type 'Date' in Config Man). The code <!--$DOC_INFO.xFinishDate--> simply does not work (nothing is displayed) for some content items, despite definitely having a set FinishDate value. Some other content items show this value fine.
The <!--$DOC_INFO.dDocTitle--> value works for ALL items, but the <!--$DOC_INFO.xFinishDate--> does not, and there appears to be no difference between the items that it does, and does not work for. They are all CDF, same DocType, same CheckIn profile, etc.
The non-working items are all released and indexed. Their Content Information in Content Server shows complete metadata. I have resubmitted the non-working items for reconversion in Repo Man but no luck.
Is there something I am missing? Any help is greatly appreciated.
Luke.Actually the default DOC_INFO resultset that is on the page seems to be for the content item being loaded into the secondary layout's replaceable regions. This is why DOC_INFO.dDocTitle gives the results expected.
However, I think I have discovered why the xFinishDate value was not showing. Using sapan's code (and modifying it a bit) I was able to print out all the metadata field names and values for default DOC_INFO resultset.
Using this URL as an example: http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011217
At the top of page region (replaceable) where the Contributor Data File is loaded into, the DOC_INFO resultset is relevant to the content item that is being loaded into the layout (content ID: BD3_011217 - as per the URL format), which is what we want.
However, throughout the Contributor Data File content, if a link is made using the Site Studio link wizard via FCK Editor (in the above case, it is the position description link, which is a link to a PDF) and the link is 'Link to a file' and the 'Choose Target section' is selected as 'Use default website section metadata', the resulting link looks like "http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011216". Any references to the DOC_INFO resultset on the page after the instance of this link now use the metadata of the content item referred to in the link, not the original content item. I have dumped out the DOC_INFO fields/values in different parts of the layout to prove this. The linked content item has no xFinishDate value so this is why nothing displays (displaying xFinishDate needs to happen after the link to the position description).
I guess I need to either:
- change the way the link is made to the content item to "Link to the Content Item's URL", but I would prefer not to expose the resulting path e.g. "[!--$HttpRelativeWebRoot--]groups/group-name/@account-name/documents/content-type/content-id.pdf"
- explicitly make a resultset using <!--$executeService("SS_GET_SEARCH_RESULTS")--> with the content ID I know I want and use it instead of the default DOC_INFO one. Is there any other way to make a resultset comprising of a single item's metadata?
9.45 SS_GET_SEARCH_RESULTS
■ Description: This is a wrapper around the regular CS GET_SEARCH_RESULTS
service. It allows some Site Studio features to be specified simply as flags and have
the real query syntax be constructed on the server. It can modify the standard
'SearchResults' resultset to contain an additional column called 'ssUrl' which will
contain the Site Studio-friendly url for all of the search results.
■ Parameters:
– siteId: the unique identifier of the site (required).
– ssLimitScope: True/False, restricting scope to within the site only (optional).
– ssUserSearchText: user-supplied search text (optional).
– ssWebsiteObjectType: object type (optional).
– computeFriendlyUrls: True/False, modify results to include ssUrl (optional).
■ Returns: resultset named ’Search Results’.
■ Security: The user must have at write access to at least one security group on the
content server
Thanks to everyone for their help. Almost there!
Edited by: lukeb2112 on 18/01/2010 17:30
Maybe you are looking for
-
i took my phone off the charger and wifi while it was updating and now it wont let me on the phone nor my computer and it just has the apple icon on the screen. how do i get it to finish updating or turn on?
-
Service Error: File or assembly name Oracle.DataAccess not found
Hi, everyone. I knew someone had post the similar question before. However, the discussion is not be able to solve my problem. Please give some suggestion. I got a net1 application use the oracle.dataAccess.dll as reference. I compiled it on my locat
-
I've had the phone for a couple of weeks now and am gradually getting to grips with it. Missed Call notification: Initially, had a bug I believe as whenever I had a missed call, I would get a notification but no matter what I tried, it would not disa
-
Screen Resolution Changes after Sleep
After my 15 minute threshold my MacBook Pro puts the external display to sleep. Neither use of the keyboard or mouse reactivates the screen. I have to raise the lid on the closed MacBook Pro before the external display comes back. When it resumes its
-
Experts, I need the FM which will retrieve the Service Orders for the given Business Partner. I will pass the BP as in the input and it should retreive all the SO's associated with that BP. Thanks in advance. Regards, Krishna K.