Sorting dynamic listing by element definition field.

Hi,
Does any one know how to sort a dynamic listing by one of the regional definition field?
My situation is currently sorting is done by dDocTitle (<!--$SortField = "dDocTitle"-->). The title that is displayed in website(h1) has a different title from dDocTitle. So although it is sorting by dDocTitle, it looks random in the live website.
So I was wondering if there is a way to sort dynamic listing by one of the element definition field.
I was hoping that something like this will work but it didn't
<!--$SortField = ssIncludeXml(dDocName,"ContentPage/Title/node()")-->
Thanks.
Edited by: K0907163 on 23-Nov-2011 03:00

Wish there was a way, but unfortunately I don't think there is without building your own custom sort. SortField only takes metadata fields.
My suggestion is to have your users actually use dDocTitle (or a different metadata field), as opposed to ContentPage/Title/node().

Similar Messages

  • Dynamic lists transient elements life span

    Dear all,
    In sentinel Dynamic lists properties, there is "transient elements
    life span" property, The minimum time span is hour, why is not minutes,
    hour or day? can the sentinel provide us choice the span? thanks!
    steve_zeng
    steve_zeng's Profile: https://forums.netiq.com/member.php?userid=3875
    View this thread: https://forums.netiq.com/showthread.php?t=48080

    This would be better-asked in the Sentinel list; this particular forum is
    for plugin issues and dynamic lists are a core feature of Sentinel.
    Good luck.

  • Dynamic Query in Element Definition

    Hi All,
    I am using SiteStudio 10gR4 Designer, i have placed a query in element definition, since the query is auto generated from content server so it is specific to node ID, now i want to use it for other node IDs as well.
    Just to clear out i want to use the same element definition for different sections without displaying the datafiles related to other node IDs. I need to make the query in element defination generic.
    Eg.:
    xWebsiteObjectType <substring> `Data File` <AND> xWebsiteSection <substring> `test:30` <AND> xSubType <substring> `SideNavigation`
    I want to replace `test:30`so that the query becomes generic.
    Thanks.
    Edited by: user3919522 on Jul 19, 2010 11:43 PM
    Edited by: user3919522 on Jan 7, 2011 6:22 AM

    Simple. Just put in idoc for the siteId and nodeId:
    xWebsiteObjectType <substring> `Data File` <AND> xWebsiteSection <substring> *`&lt;$siteId$&gt;:&lt;$nodeId$&gt;`* <AND> xSubType <substring> `SideNavigation`
    Good luck, and please award points as necessary.

  • Sorted dynamic list problem - Azure Search Index

    Hello Everyone,
    Let's consider following problem: Vote app - we have 1000 NBA players and we want to create an app which first: let user vote for a player he wants to see in the All Star Game, second: user gets current rank list (example: Michael Jordan 1st - 1M votes,
    Derrick Rose 2nd - 0,9M votes, .. , Freddy Kruger - 999th - 0 votes and so on).
    Question: what is the best structure that can be implemented here to keep this data sorted? I would like to query this data source already sorted - it is not allowed to get the list of 1000 and sort locally in app. For example: 800 players can have 0 votes
    and I do not want to download their names just to display '0 votes' next to their names. I would like to get only 50 with highest score at the moment. Index should be refreshed-rebuild after each new POST-vote request.
    Can Azure Search service and its Index help me to solve this problem? The perfect .NET SortedList synchronized structure would look like this [votes][name]:
    SortedList[99982]['Michael Jordan']
    SortedList[89921]['Derrick Rose']
    SortedList[0]['Freddy Kruger']
    SortedList[0]['Ace Ventura'] -> but SortedList does not allow the 0 KEY to appear twice.
    Regards,

    Hi pr0t,
    It should be straightforward to get the data you want using the $orderby, $filter, and $top options. For example, if you have a field named vote, you could include this in your search request:
    /indexes/players/docs?$orderby=vote desc&$filter=vote gt 0&$top=50
    This will give the top 50 players by vote in descending order by vote. You can then put the data in whatever data structure you like on the client.
    One thing to be aware of though is the way you update votes in the index. We highly recommend batching index updates as much as possible rather than updating one document at a time. You can have up to 1000 documents in a single batch when indexing. This
    reduces overhead and indexing pressure on your search service.
    Hope this helps,
    -Bruce

  • Dynamic List to Update Field in  Record

    Hello,
    I have created an Update page in CS5.5 and have added a dynamic list to update a field in the record. Now I am stuck. How do I modify the code in the menu to have it update the field? 
    <select name="cemeteryID">
    <?php do {  ?>
    <option value="<?php echo $row_cemeteryList['cemeteryID']?>"<?php if (!(strcmp($row_cemeteryList['cemeteryID'], $row_cemeteryList['']))) {echo "selected=\"selected\"";} ?>><?php echo $row_cemeteryList['cemetery']?></option>
                  <?php
                  } while ($row_cemeteryList = mysql_fetch_assoc($cemeteryList));
                  $rows = mysql_num_rows($cemeteryList);
                  if($rows > 0) {
                  mysql_data_seek($cemeteryList, 0);
                  $row_cemeteryList = mysql_fetch_assoc($cemeteryList);
    ?>
    </select>
    Thanks!

    I figured it out.  Suprised that no one responded - oh well.

  • Passing Dynamic Number of Elements and Attributes in Orchestrator

    i am having trouble determining the best way, from a powershell snippet in a Run .Net Activity, to pass a dynamic list of elements with each element having a dynamic list of attributes .   Example:
    on one call of the activity the data might be the following:
    element1 with 3 attributes
    element2 with 2 attributes
    element3 with 0 attributes
    on another call of the activity the data be the following:
    element1 with 0 attributes
    element2 with 3 attributes
    i understand how to create objects, arrays, and hashes. i would like to know the best way to pass the data above from the .Net activity powershell snippet (where the data is created) to another activity.   Ideally I would like to pass
    a custom object created with powershell (not an array or hash), but research tells me that it is not possible to publish an object on the Orchestrator databus.  Any assistance is appreciated.

    You can try combining the parameters into a single string in PowerShell separated by a delimiter like a semi-colon. Then you can have a single parameter in the Invoke Runbook activity. Once the parameter is passed you can then use the Split Field activity
    that is included in the Data Manipulation IP. 
    http://orchestrator.codeplex.com/releases/view/83934 
    You could do something similar for the SQL Query. Just combine the string to a single output in PowerShell and use the PARSENAME function, or something similar, to separate out your parameters. 
    Matthew Dowst |
    Blog | Twitter

  • Hidden Assets like element definition, region definition from site studio designer

    Hi Experts,
    I am facing problem in Site Studio Designer, I have created a new Website and Created Page Template and when i tried to create the site assets like element definition, region definition, region templates. It's visible and when i refresh the list or change the list from element definition to region definition and again open the tab of element definition, the definition list removes or hide from the list in Site Studio Designer and when i check the content server for the same region definitions, element definitions all are present in content server but hides from site studio designer. Can any one please help me out resolve this issue i am unable to edit any assets.
    Thanks,
    Vijay

    First, the Override Editor CSS is ONLY used to change the CSS for the contributor editor. For instance, if you have a div tag that encompasses the entire website and specify it to be center-aligned, everything within your WYSIWYG editor will be center-aligned too (not ideal). So you could, for instance, use the Override Editor CSS to have the same div class that overrides the text within the contributor to be left-aligned.
    As far as not being able to apply the CSS, I'm not too sure. You should at least be able to create a completely blank HCSP layout page, and see that no classes are available (because there is no CSS on the page). When you have a CSS, I've found that the classes loaded aren't always necessarily the ones that are in the CSS. My recommendation is to select "Allow selected classes", ONLY use the "additional classes", and type in the classes you want to show up in the CSS WYSIWYG dropdown. That's the only way I've gotten it to work.

  • Using a Site Studio 10R4 Dynamic List Element Definition

    Hi All,
    I've created and can use a Static List Element Definition > Region Definition > Region Template with no problems based off of the 10gR4 samples.
    However, there is no example that I've found to utilise the Element Definition of a Dynamic List. I'm attempting to use the same sample code as provided for a Static List but having no luck displaying the results of the query...
    Does anyone have some sample code used in a Region Template or Sub Template to show how we use a Dynamic List Element Definition please?
    I noted from another thread in this forum that there are some iDoc calls to make which load the query defined in the Element Definition... I can't find any documentation regarding this either.
    Thanks
    Edited by: user615721 on May 4, 2009 10:08 AM
    Edited by: user615721 on May 4, 2009 10:09 AM

    Found my answer in another thread, here... Re: Using a Site Studio 10R4 Dynamic List Element Definition
    'For 10gR4 Site Studio you can get examples and even a video talking about making dyanmic lists from here:
    http://www.oracle.com/technology/products/content-management/ucm/SiteStudio10gR4Tutorials/index.html'
    Edited by: user615721 on May 4, 2009 10:25 AM
    Edited by: user615721 on May 4, 2009 10:25 AM

  • How to create dynamic list element in Site Studio designer?

    Hi all,
    I have installed the Site Studio Designer(10gR4).The dynamic list element that i have added in the contributor region executes a query to search and display all the files in a particular folder.In the contributor mode when i try to add/edit the dynamic list element it gives an error saying :
    Unable to perform the action due to the following reasons:
    [+] Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT IdcColl2.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.* FROM IdcColl2, DocMeta WHERE IdcColl2.dID=DocMeta.dID AND (((((( xCollectionID >= 14 AND xCollectionID <= 14 ) AND NOT ( (CONTAINS(xDontShowInListsForWebsites, '{DIPP_Sample}') > 0) )))))) ORDER BY dDocTitle desc'. ORA-20000: Oracle Text error: DRG-10599: column is not indexed
    I have enabled the full-text search on the content server and also included xWebsites and xWebsiteObjectType columns to be full indexed in the Zone Fields Configuration.Is there any other setting to be done?Please help.
    Thanks,
    nithya

    Hi
    Include the xDontShowInListsForWebsites also from the zone filed and then update it.Then test it out.
    Hope it helps
    Srinath

  • The definitive field order list for all formats

    WANTED: The definitive field order list for all formats, NTSC and PAL.
    I have seen several such lists, but are they trustworthy?
    This one http://www.dvxuser.com/V6/showthread.php?t=125817 looks promising, but, for instance, how can HDTV 1080/24p have a field order of upper field first? - Isn't "p" without any fields?
    Anyway, if someone has seen such a definitive list, preferrably from some "official" source, please share.
    Thanks 

    Hi kalione,
    We’re always looking for ways to make browsing BestBuy.com easier. With the recent merger of the My Best Buy website into the main BestBuy.com page, it sounds like there may have been some changes to how you can view upcoming games! My apologies if there has been an added element of difficulty here.
    The method that zztoluca has explained is actually how I generally check for pre-orders we have listed, as I like looking at them by individual platform. If you start at the main “PRODUCTS” tab at the top of the main site, choose “Video Games, Movies, & Music” and then choose the console of your choice. Once there, there should be an option on the left under the “Games” section for browsing by Pre-orders. Here is an example of pre-orders listed for Xbox One.
    I hope this helps! Keep an eye on BestBuy.com as it’s constantly changing and evolving.
    Cheers,
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • How do I add a time field to a dynamic list and form?

    I'm trying to create an update form that logs when an action was taken. Among the fields are one for the date and one for the time, but I've not been able to get the time field to display or enter data correctly.
    I've set the time format in the ADDT preferences (database date and time format is yyyy-mm-dd and HH:mm:ss and screen format is dd/mm/yyyy and HH:mm). When I create the list or the form using the wizard, there is no option to display the field as a time.
    In step 3 of 4 in the Dynamic List Wizard, the 'Display as' options are: text, numeric, double and date. Choosing date for the time field gives me a display as though it was a date (I get '00/00/0000'). I have the same problem with generating a Dynamic Form in that there is no option to display a time, only a date.
    Am I able to do this using the wizard, or is there another way that I'm, missing? Thanks for any help.

    If those date/time fields are only needed for logging purposes then follow Günter's instructions.
    If you need to be able to edit those two fields and have their values displayed properly then there are several steps you should take.
    First open the page that uses the Dynamic List behavior and make sure that all date and time fields are configured to display as dates. Then open the page with the dynamic form and click on "Manage Dynamic Form Wizard" in the Developer Toolbox. Configure your date and time fields to submit as dates. Then go to the Server Behaviors panel and double click on "Validate Form". You should now have 3 date/time options available under Validation Format: Date, Datetime, and Time. Configure each field as needed.
    This will ensure that date and time fields are saved in the proper format so that when you view their values they will be displayed properly, that is dates will be displayed as dates and times as times.
    There are also several additional server formats available that are accessible through the Bindings panel that you might want to experiment with.

  • Site Definition with Custom List Intance with Custom fields

    How to create VS 2012 > Site Definition with Custom List Instance with Custom fields?
    <site>
    <list>
    <field>

    Hi Sunil,
    it is the same way we create in VS 2010.
    Add a new empty SP project in VS2012 and then add, site, list and fields as per your requirement.
    Here are few references-
    Creating SharePoint 2010 Site Definitions in Visual Studio 2010
    http://msdn.microsoft.com/en-us/library/gg276356(v=office.14).aspx
    Creating SharePoint 2010 List Definitions in Visual Studio 2010
    http://msdn.microsoft.com/en-us/library/gg276355(v=office.14).aspx
    Walkthrough: Create a Basic Site Definition Project
    http://msdn.microsoft.com/en-us/library/ee231583.aspx
    and  I normally create a blank site with all required configuration and then create, import the template to hand craft the list and fields. this would minimize errors.
    see the below blog on this topic
    http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • How to dynamically list field names

    Hello,
    I have a DB Link to a SQL 2000 Server and can connect and retrieve using Heterogenous Servives.
    Let say I issued a Select (eg., Select * from tab@remote1), how do I dynamically list each field name from the result?
    Thank you.

    The best way to deal with dynamic column names from a SQL result is to use a cursor describe interface.
    A SQL SELECT may not select all the columns from a table. It may join tables. It may add derived and calculated columns to the result.
    None of these will be seen when using the data dictionary. Also, using a remote heterogeneous data dictionary? That does not sound like a sensible approach to me.
    In PL/SQL, one can create DBMS_SQL cursors. These cursors can be "described" - i.e. the describe interface for a cursor tells you what the contents are, the column names, the data types, the precision, etc.
    Using DBMS_SQL allows you to describe any result set from any SELECT statememt. A far superior and accurate method than to go data dictionary hunting to determine just which column could be in a result set.

  • How to deal with dynamic selection screen elements when macros are used?

    Hello experts,
    This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the output. I actually did everything required except for the one thing that is going out of my reach.
    There are a certain fields which are coming when they are not supposed to get displayed. I don't understand the code because of its obsoleteness. Neither can I debug it because it is just data declaration.
    This is the code where there is a fault. If I copy the entire code into a new Z report, I'm getting new fields like Entry Date, Document Type, Reference Transaction,  Reference key, Logical system.
      DEFINE selection_screen_line.
      selection-screen: begin of line.
      parameters &3 like &4 default 'X' modif id mc4.
      selection-screen: comment (30) &1 for field &3 modif id mc4.
      selection-screen: comment pos_low(10) text-019
                        for field &2 modif id mc4.  "neu
      parameters &2 like rfums_alv-variante modif id mc4.
      selection-screen:
          position pos_high.
      selection-screen: pushbutton (15) text-028
                        user-command &5 modif id mc4.
      selection-screen end of line.
    END-OF-DEFINITION.
    Kindly, suggest me the right solution.

    In the program attributes ( SE38 > RFUMSV00 > GOTO > Properties ), you will find a logical database BRF declared. The include DBBRFSEL is part of the selection screen of this logical database.
    The selection screen is actually the selection screen of this logical database.
    Under the Logical Database field, there is a Selection screen field where you can input which selection screen of the logical database to be used.
    But, this is just to change the selection screen that is displayed. To completely suppress it you need to remove logical database declaration from the properties of the program and call it inside your program through function module.
    You cannot just remove it from the declaration because many of its variables are used in the program.
    So call it using function module as the first step in INITIALIZATION section of the program.
    The syntax and function module to call it in your program can be found in the following thread :
    How to hide the selection screen of a Logical datebase?
    Regards,
    Ashish

  • Sorting the list of value like in BEX but out of crystal report

    All,
    I have created a crystal report base on a BEX query where I have a variable for which  i am filtering base on a field period.fiscalyear.
    for the list of values that prompt you for this variable ...
    l in BEX we can do the sort by either alphabetical ascending order or descending alphabetical order such as:
    here is for ascending
    001.2008
    001.2009
    or by clicking on it we can do the following: (descending)
    012.2009
    012.2009
    however in crystal when refreshing the report in infoview it sorts the list of value base on the month
    something like this :
    JAN 2008 [0FISCPER].[K42008001]
    FEB 2008 [0FISCPER].[K42008002]
    We would like to have in crystal the same behaviour than in BEX,  so in crystal we would like to be able to get the list of values sorted in either ascending order to descending order. is there a way to do so ?
    notes also that we would like to avoid to create the variable in crystal
    Philippe

    Hi,
    in Crystal Reports you have per InfoObject - depending on the definition - the key value, the description and the member unique name. In BW these objects are defined as NUMC in most cases - which means it is a character / string.
    In your example the value is 001.2008 and 001.2009. What you can do in Crystal Reports is to split up the values into year and month and then sort based on the actual numbers.
    Ingo

Maybe you are looking for