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

Similar Messages

  • I have a leica m9, aperture metadata will not show me the lens aperture used, as it does in lightroom 3, any ideas.

    I have a leica m9, aperture metadata will not show me the lens aperture used, as it does in lightroom 3, any ideas.

    This has been an ongoing issue with this camera for a long time. Search the list here or Google the issue to see the many posts on this.
    For whatever reason Aperture is unable to report that data. Some have written that it is because the that particular lens/camera combination does not report the f stop information.
    You can always send feedback to Apple see Aperture->Provide Aperture Feedback

  • User metadata values is showing as plain text in Mysites after upgrading from 2010 to 2013

    We have upgraded our Mysite from 2010 to 2013, after upgrading User metadata values is showing as plain text where
    as in 2010 it has shown as hyperlinks.
    In Mysite 2010 by clicking on user metadata for favorite sports, Favorite Movies etc...it will give the results from search containing same value for other user
    by going to search results page. After upgrading it to 2013 (with 2010 UI) and running full crawls, I am able to search by clicking on any user property.
    After upgrading look and feel to 2013 version  these fields showing as plain text. Can anyone suggest how can we get hyperlinks and how can we make user
    metadata searchable directly by clicking on Property value from Mysite. Below screen print explain you the difference clearly.
    Santosh

    Hi Inderjeet, thanks for the update.
    I am running with SP1 + july2014 CU.
    Search is working fine, I am able to get search results from search page, here the problem is I cannot go to search results by directly clicking on a property.
    In SP 2010, If I click on favourite sports team, (Chelsea football) it will open search results page with all users who have given this team name.
    Where as in SP 2013, this data is appearing as plain text in mysites(Please note before UI upgrade, I am able to search as in SP 2010). You can notice the difference in my above screenshot.
    Is this default behaviour in SP 2013? Has anything changed or am I missing something.
    Santosh

  • The report I published on the SQL server report server is not showing in the application we use to retrieve reports.

    The report I published on the SQL server report server is not showing in the application we use to retrieve reports. My cell phone number is {removed}
    Thanks.

    Hello Roger Tenn,
    Thank you for posting in the TechNet Forum.
    As this issue is related to SQL server report server, to receive better report, it is recommended to ask in the SQL server forum.
    https://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
    The professionals here will be glad to help you.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • I am looking for a specific photo in my event folder, it does not show up, yet when I use the search feature, the photo is there.  Why doesn't it show up in the folder?

    I am looking for a specific photo in my event folder, it does not show up, yet when I use the search feature the picture is there.  Why doesn't it show up in the folder?

    What system and iPhoto version are you running?
    If your're using iPhoto 9 or later  Command (right) - click on the photo in the search window and select Show Event in the Contextual menu. 
    That will take you to the event where the photo is.
    OT

  • Why isn't the $75 iTunes credit I loaded onto my account showing up???  It did right when I put it in, it is not showing that is has been used in my history.

    I loaded 75 dollars of iTunes gift cards onto my account,  it was there the first day and now it is not showing any credit plus it is not showing that any credit was used in my history.  Help!

    If nothing shows on your account's purchase history and you've tried logging out and back into the account on the computer/device that you are using, then try contacting iTunes Support and see if they can see what happened : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Software update of my i phone not showing any update I'am using ios 7.0.6 want to update ios 8.1

    Software update of my i phone not showing any update I'am using ios 7.0.6 want to update ios 8.1

    Connect it to iTunes and see if any updates show then.

  • Special characters (norwegian wovels) not showing correctly in Page Layouts

    We have a publishing site which surfaces content from several catalogs in an authoring site in a cross site collection publishing environment.
    We have a problem with labels for Catalog-Item Reuse Snippets containing norwegian vowels/special characters not showing properly. An example of a snippet is shown below. This contains the character ø (oslash).
    <div class="rightColPaddingUnder"><h2>Leverandørkontakt</h2>
    <!--CS: [NavnhovedkontaktleOWSTEXT] Start Catalog-Item Reuse Snippet-->
    <!--SPM:<cc1:CatalogItemReuseWebPart runat="server" UseServerSideRenderFormat="True" ResultType="" NumberOfItems="1" UseSharedDataProvider="True" OverwriteResultPath="False" ResultsPerPage="1" SelectedPropertiesJson="[&#34;NavnhovedkontaktleOWSTEXT&#34;]" Title="$Resources:Microsoft.Office.Server.Search,CBSItem_Title;" Description="$Resources:Microsoft.Office.Server.Search,CBSItem_Description;" MissingAssembly="Cannot import this Web Part." ID="g_1d79f6d5_037f_43b3_ac4b_4e7bc10ff1c3" __WebPartId="{1d79f6d5-037f-43b3-ac4b-4e7bc10ff1c3}">-->
    <!--SPM:<RenderFormat>-->
    <!--DC:Viser verdi fra søk uten ekstra formatering.-->
    <!--SPM:</RenderFormat>-->
    <!--SPM:</cc1:CatalogItemReuseWebPart>-->
    <!--CE:End Catalog-Item Reuse Snippet-->
    </div>
    The frontend messes the character up and displays this as strange A
    We have tried several things in order to fix this but are running out of leads:
    tried to change encoding in the page layout html file from utf-8 to iso-8859-1
    tried to replace ø with the hex value (&#248;) and the old school & + oslash + ; way of encoding characters
    Regional settings on the server is verified to be norwegian
    The strange part is that actual content in the content type columns that we display around the page actually shows the norwegian characters correctly

    Excellent, thanks!. I checked the top level globalization setting i IIS and this was set to Windows-1252.
    However, our work around solution was to add the 
    <meta charset="utf-8">
    declaration inside the first MS-statement inside the body tag of the page layout HTML file like this:
    <?xml version="1.0" encoding="utf-8"?><!--SPG:
    -->
    <!DOCTYPE html[]>
    <html class="no-js" lang="en" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>Some title
    </title>
    </head>
    <body>
    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">-->
    <meta charset="utf-8">
    <!--MS:<SharePoint:AspMenu ID="TopNavigationMenu" runat="server" EnableViewState="false" DataSourceID="topSiteMap" AccessKey="&#60;%$Resources:wss,navigation_accesskey%&#62;" UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="1" AdjustForShowStartingNode="false" MaximumDynamicDisplayLevels="3" SkipLinkText="">-->
    Strange, but it worked.
    Actually we tried to set the globalization settings in the web.config files of the different IIS sites running in the webapp yesterday like this:
    <add name="SPWindowsClaimsAuthentication" type="Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule, Microsoft.SharePoint.IdentityModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </httpModules>
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="nb-NO" fileEncoding="utf-8"/>
    <!--<globalization fileEncoding="utf-8" />-->
    <compilation batch="false" debug="false">
    As far as I can understand this should have the same effect as setting this in IIS.
    It seems that the IIS setting actually overrides whatever you put in web.config for globalization options.
    We have updated the IIS setting now to UTF-8 and done a IIS Reset. At the moment we get corrupted characters still, but now the existing aspx-files probably is corrupted and needs to be replaced with fresh ones. I will do a catalog dis-/reconnect.
    I'll update with whatever we end up with as the final solution. Anyway, very grateful for the invaluable help from a fellow Scandinavian :-)

  • Crystal Reports For Eclipse - Multi-values not showing on page..

    Tried two different ways to set params, but to no avail.  Values seems to be set, but only one value appears on the report.The value is updated, so not an old value or anything.
    Also if I look at the values I can see the values are set!  The Field is set to multi=true and the height is big enough to display lots of date grow=true.
    <%@page import="com.businessobjects.samples.JRCHelperSample" %>
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer" %>
    <%@page import="com.crystaldecisions.reports.sdk.ReportClientDocument" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.application.OpenReportOptions" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.Fields" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.ParameterField" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.Values" %>
    <%@page import="com.crystaldecisions.reports.sdk.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Report1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // ****** BEGIN LOGON DATASOURCE SNIPPET **************** 
                        //     Database username and password
                        String connectString = "jdbc:oracle:thin:@localhost:1521:XE";
                        String driverName = "oracle.jdbc.OracleDriver";
                        String JNDIName = "";
                        String userName = "darren";
                        String password = "darren";
                        // logon to database
                        //JRCHelperSample.logonDataSource(clientDoc, userName, password);
                        // Switch all tables on the main report and sub reports
                        JRCHelperSample.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
                   // ****** END LOGON DATASOURCE SNIPPET ****************           
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                        // Create the CrystalReportViewer object
                        CrystalReportViewer viewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        viewer.setReportSource(reportSource);
                        // set viewer attributes
                        viewer.setOwnPage(true);
                        viewer.setOwnForm(true);
                        // MyParameter
                        String paramName = "MyParameter";
                        String theValue1 = "Hello";
                        String theValue2 = " World!";
    // Method 2
                        //We will be using the ParameterFieldController quite a bit through-out the rest of this function.
                        ParameterFieldController paramFieldController = clientDoc.getDataDefController().getParameterFieldController();
                        // MULTI-VALUE DISCRETE PARAMETERS.
                        Object[] multiVals = {theValue1, theValue2};
                        // sReportName - the report that contains the specified parameter field.
                        // sFieldName - the parameter field name.
                        // newValue - the collection of values to be stored in the parameter field.
                        paramFieldController.setCurrentValues("", paramName, multiVals);
    // Method 1
                        Values values = new Values();
                        values.add(theValue1);
                        values.add(theValue2);
                        ParameterField paramField = new ParameterField();
                        paramField.setName(paramName);
                        paramField.setAllowMultiValue(true);
                        paramField.setAllowCustomCurrentValues(true);
                        paramField.setCurrentValues(values);
                        Fields parameterFields = new Fields();
                        parameterFields.add(paramField);
                        viewer.setParameterFields(parameterFields);
                        viewer.setEnableParameterPrompt(true);
    // Show parameter values to console          
                        Fields fields = viewer.getParameterFields();
                           for (int i = 0; i < fields.size(); i++) {
                           ParameterField pf = (ParameterField)fields.get(i);
                           Values v = pf.getCurrentValues();
                           if (v.isEmpty()) {
                                System.out.println(pf.getName());
                           } else {
                                System.out.println("v.size(): " + v.size());
                                for (int j = 0; j < v.size(); j++) {
                                     ParameterFieldDiscreteValue pfdv = (ParameterFieldDiscreteValue)v.get(j);
                                    System.out.println(pf.getName() + " - " + pfdv.getValue());     
                        // Apply the viewer preference attributes
                        viewer.refresh();
                        // Process the report
                        viewer.processHttpRequest(request, response, application, null);
    Thanks in advance!

    This is not a support site but a community forum. For direct help purchase a case on line

  • Managed Metadata Fields not showing up in preview mode

    0down
    votefavorite
    In our SharePoint 2013 Publishing page, managed metadata fields doesn't show in preview, they show up only in edit mode or after we publish page.
    Is this bug?
    Thanks in advance.

    Hi,
    According to your post, my understanding is that the managed metadata fields not display in preview.
    I tried to reproduce the issue, the managed metadata fields worked well in my environment.
    I create a publishing page, add a library web part which contained managed metadata columns.
    Then click the preview option in the ribbon, the managed metadata columns worked well.
    Did the issue occur in other publishing pages? You can create a new publishing page to check whether it works.
    Did you use the compatibility mode or add the site into trusted sites?
    You can use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    You can also add the site into Trusted sites.
    Open the IE->Internet Options->Security->Sites->add the site into the Websites, then check whether it works.
    What's more, you can use other browsers to check whether it works, such as Firefox, Chrome.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Values not passing from program to Layout

    Hi Abaper's
    My requirement is I need to set company logo in Invoice ( VF03 ) if a particualar condition satisifies, for this I have set a FLAG in my
    driver program and called the FLAG in my Script Layout.
    Here my issue is, for certain invoices the FLAG set in the program is being called in the Layout and Logo is displayed in invoice copy ( when excuted both in foreground and back ground).
    But in certain invoices, if run in foreground none of the values ( means not only flag but also all the values to be passed to layout)
    is displayed in invoice. It is only displaying the hard coded values in the layout ( showing blank page ).
    and if I run in background all the values are passing to layout except all Global Variables (flags) in the program even though it
    has value in the program.
    Please advice what should be the problem, I have checked with my Functional and it seems to be fine in customization part.
    Karthik
    Edited by: Karthik R on Sep 21, 2010 2:42 PM

    Hi Tamas,
    I have tried it, but still not able to figure out the exact problem....since while running in background or foreground some of the all values including my logo are displayed in invoice but for some invoices none of the values from driver prgram is getting passed to layout while running in forground....but when run in background all values are passing except the FLAG set in the drvier program.
    what should be the reason for this ? for some invoices all the values from driver is passing to layout but for some cases its not passing

  • Non-cumulative Values not showing in Inventory Management Queries

    Hi:
    Has anyone had a problem with the new version and Non-cumulative key figures not showing up in Bex for Inventory Managemet reports? Specifically, they showed and validated back to ECC for our Development and QA boxes but now in our Regression box they are all showing zeros. Our Cumulative values are all showing correctly still within the Regression box. For example, Total Receipts and Total Issues are correctly poplating values but Total Stock is not.
    I have checked and validate that the configuration in the Regression box matches or Dev and QA box.

    Found the problem.  It had to do with the compression variant in the delta process chain.  The compression was set to 'no marker update'.  Since we only started receiving measureable deltas in or regression box this is where the incorrect setting showed up.  Reinitalized and the deltas are working correctly now.

  • Filter values not showing on iPad

    Hi,
    I have a BW query based universe (UNV) that is published to iPad. The WebI report runs fine in BI Launchpad. However, when I open same report on iPad, the prompt values are not show (I see only blank Blank Blank) and report is not executed. BW server is BW 7.3 BO is BO 4, SP2.
    How do I fix this issue?
    Regards,
    Nikhil

    Hello Simone,
    please can you tell me, if the open document function with refresh parameter is working in BO mobile App V 4.0.3 (Build 1211)?
    In the Release notes for this Version it is described how to do this:
    Open Document
    1. Apart from iDocID, sIDType and sDocName, other document identifier parameters are not supported
    in the OpenDoc URL.
    2. Apart from sReportName, sRefresh, IsM[name] and IsS[name], other input parameters are
    not supported in the OpenDoc URL.
    3. Session management parameter (token) is not supported.
    4. Output parameters are not supported in the OpenDoc URL.
    We tried to use the following link, but the report did't refresh with the correct parameters:
    http://svie32sapbo1:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AfFdCbmEEvZIiVXXFLh4iPY&sIDType=CUID&sRefresh=Y&lsMWert=Alarmierung
    The Part "Wert=Alarmierung" should be dynamical in future.
    Thank you and regards
    Wolfgang

  • Ssrs parameter default value not showing ,when available values is binded to query dataset

    I have developed a report using sql server data tools for vsiual studio2012 ,i have defined few parameters ,on one of the parameter when available values is binded to a dataset query, the report default value is  not showing in report preview .
    Many Thanks
    Chandra

    Hi Chandra,
    According to your description, you have set the default value for a parameter, but it's not displayed when initially running the report. Right?
    In this scenario, since you have set the available values bind to query, so your default values should be within these available values. If these default values are not within the available values, the default values will be not displayed. So please check
    the default values.
    Reference:
    Add, Change, or Delete Default Values for a Report Parameter (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Discount value not showing in the P.O printout

    Hi,
    I have created a Service p.o with 5 line items,i have entered the condition type RA01 = 10 % for all the items,
    But in the P.O printout the discount value is showing only for the first 2 line items , the value is not showing for the balance 3 line items.
    Any help will be greatly appreciated.
    Nijamudeen.S

    Hi,
    if the same condition type is used for previous two line items, then this is ABAP issue. May be smartform coding is restricting to print the value for more than 2 line items. Can you seat with ABAP and check.

Maybe you are looking for

  • Playlist is not transferred to iPhone

    I am trying to transfer a playlist on my iPhone 4 (with iOS6) and it fails (all the songs are shown greyed-out with a strange symbol on the left, see attached image). I have not enabled itunes match on the iphone and I am managing music manually. Als

  • Import and Export settings and presets

    Thanks in advance. Where can I save all the different import and export settings? Like if I just want to export Quicktime with audio and save that setting so I don't have to reset it every time. Thanks

  • BUG: domains are stored in wrong file when saving a model

    For a project we use a project specific domain file. When I want to add a domain I first select the project domain file and then add the domain. I can see that this new domain is stored in this project specific domain xml file. However, when I save t

  • How delete iTunes u Downloads

    I down loaded a few files in iTunes u and there is there a way to delete the files

  • Now that Webos is open_source can we see Firefox on the Touchpad?

    HP Webos is now open-source, is there any chance getting Firefox on the HP Touchpad, I know a lot of people would pay for it because the stock browser really bite's