Site Studio - Fragment question

Hi,
Is it possible to have dynamic listing within static list element.
I have a Fragment in my page for static listing, Fragment contains number of elements of which one is custom element with radio button.
Script says if Radio button A is selected display certain element in the page, if B is selected display different element and so on.
I was wondering if it is possible to added query element within that Fragment which I can generate dynamic listing. Eg: if Radio button E is selected then display listing from whatever a query is.
Thank you,

You've basically described your own anwswer. Remember a dynamic list is nothing more than a structure that holds a query and the ui to display the results of that query. So, in your static list have an element that is a custom element to go get a query, or even a plain text element where you can paste the query. Then, your static list region template (if you're 10gR4) or your fragment ui (10gR3) panel will have to contain the code to execute the query and write out the radio buttons.
-Jason
http://www.corecontentonly.com

Similar Messages

  • Site Studio Placeholder question...

    Hello all,
    I was wondering if it's possible to check if a placeholder has a subtemplate, regiontemplate or data file associated to it through idoc...
    for example, consider the code below:
    <body>
    <div id="content">
    <!--$wcmPlaceholder("Content_Placeholder")-->
    </div>
    <div id="links">
    <!--$wcmPlaceholder("Links_Placeholder")-->
    </div>
    </body>
    I would like to see if "Links_Placeholder" has anything associated to it in Idoc script, and if it does, I would give my body a class of "2column" (<body class="2column">). Then through CSS I could change the width to be a 2 column layout instead of 1. This is as opposed to having 2 different templates... 1 single column layout, and one 2 column.
    Is this possible?
    Thanks,
    DP

    alternative would be: Create a custom section property called numColumns which your site contributor can give. This way you know the number of columns required for the layout.
    regards,
    deepak

  • 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 chawla

    Thanks 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

  • Site Studio - no fragment directory in weblayout

    Hi people,
    I've just installed the SampleWiki on my Content Server, the installation worked fine but there is no images and no layout on the wiki.
    While checking on my Content Server files, I found that there was no fragment directory in the weblayout directory.
    Before installing the SampleWiki, I installed Site Studio and the CS10R3UpdateBundle.
    Does someone has an idea ? Why is there no fragment' directory ?
    Thanks,
    romain.

    I should have tested more before sending a question..
    I created the directory by myself and deployed the sample wiki fragment one more time!
    Then, all the repertories appeared in the fragments' directory...
    So, it works now.
    (I still do not understand why it hasn't worked the first time!)
    Romain.

  • Site Studio : Search Fragment

    Hi !
    I am designing a small sample Web Site for a POC and I need to integrate search capabilities.
    I am using Content Server 11g and Site Studio Designer (not JDevloper / SSXA)
    I have added the Search Box Plain Fragment and the Search Result Plain fragment to my page.
    When I leave the search field blank and press the search button, I have the correct result (all documents are displayed).
    When I try to filter and enter something n the search box, there is not result ...
    And the following error appears in the log :
    Event generated by user 'weblogic' at host '10.120.64.68:16200'. Referred to by http://10.120.64.68:16200/PocIA/Recherche/index.htm?ssUserText=.
    User agent is Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C) and request method is GET.
    Unable to find parsed elements with engine label 'DATABASE.METADATA.ORACLE', field name <undefined>, operator name 'fulltext'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,10.120.64.68:16200!csFileServiceReferredToBy,http://10.120.64.68:16200/PocIA/Recherche/index.htm?ssUserText=!csFileServiceUserAgent,Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C),GET!csUnableToFindParsedElements,DATABASE.METADATA.ORACLE,,fulltext
    intradoc.common.ServiceException:
    *ScriptStack SS_GET_SEARCH_RESULTS
    SS_GET_SEARCH_RESULTS,dID=3,dDocName=SS_FRAGMENTS_PLAIN,fileUrl=/cs/groups/public/documents/document/mdaw/mdaw/~edisp/searchpage1_pocia.hcsp3:getSearchResults,dID=3,dDocName=SS_FRAGMENTS_PLAIN,fileUrl=/cs/groups/public/documents/document/mdaw/mdaw/~edisp/searchpage1_pocia.hcsp
    at intradoc.search.UniversalSearchQueryParser.parseQueryEx(UniversalSearchQueryParser.java:885)
    at intradoc.search.UniversalSearchQueryParser.parseQuery(UniversalSearchQueryParser.java:265)
    at intradoc.search.UniversalSearchQueryParser.parse(UniversalSearchQueryParser.java:193)
    at intradoc.search.DBSearchConfigCompanion.fixUpAndValidateQuery(DBSearchConfigCompanion.java:214)
    at intradoc.shared.CommonSearchConfig.fixUpAndValidateQuery(CommonSearchConfig.java:1702)
    at intradoc.server.SearchService.prepareLocalSearch(SearchService.java:1312)
    Do you have any idea ?
    I have an other issue, when I click on the document link (when I leave the search field blank), the document does not open and I have the following error :
    Event generated by user 'weblogic' at host '10.120.64.68:16200'. Referred to by http://10.120.64.68:16200/PocIA/Recherche/10021516200000588.
    User agent is Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C) and request method is GET.
    Document with Content ID '10021516200000588' does not match the Primary Url at section 'Recherche' (Id=3) and there is no Secondary Url defined. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csUserEventMessage,weblogic,10.120.64.68:16200!csFileServiceReferredToBy,http://10.120.64.68:16200/PocIA/Recherche/10021516200000588!csFileServiceUserAgent,Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C),GET!csSSFailedNoSecondaryUrl,10021516200000588,Recherche,3
    intradoc.common.ServiceException: !csSSFailedNoSecondaryUrl,10021516200000588,Recherche,3
    *ScriptStack SS_GET_PAGE
    3:getPage,**no captured values**
    at sitestudio.SSFileServiceHandler.doGetPageError(Unknown Source)
    at sitestudio.SSFileServiceHandler.getPage(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    I should have missed something ...
    Thank you for your answers !
    Romain.

    I have solved the first issue by enabling the OracleTextSearch capability.
    http://docs.oracle.com/cd/E14571_01/doc.1111/e10792/c05_search001.htm#CHDJFGGI
    Any ideas ideas regarding the second issue ?
    Thank you,
    Romain.

  • URGENT: Consuming Portlets in Site Studio Design.

    Hi...
    I am quite new to oracle technologies and have to create a full fledged secure B2B web portal (web center application) using various web center technologies like Wiki, Discussions etc and also integrate and manage content through it. The portal is going to have proper left, right, top & bottom navigation sections and access to content would be dependent on user roles and rights. I also have to create various JPDK and WSRP portlets that need to be used in the portal for search, navigation mapping etc. The portal would be obviously deployed on a Oracle Application Server. The main usage of the portal is going to be for collaboration between the various employees of an organization and also to manage their day to day business activities. Moreover, some power user have to be able to create and update content on the fly.
    1. My concern is that is is possible to use Site Studio somehow in the development of this kind of a portal?
    2. How to consume Portlets in Site Studio (as fragments?) or how to embed portlets in the site studio design?
    3. Can I create the complete web layout and content management mechanisms using Site Studio and then integrate Portlets on to it using JDeveloper?
    4. Is such an integration possible? If yes what would be the limitations of such an approach? If no, what are the best possible tools for the same?
    Please let me know your comments in detail.
    Thanks in advance.
    Best Regards,
    Naveen
    Edited by: NaveenZ on Sep 24, 2009 10:24 PM

    Hi NaveenZ,
    You might want to post your question on ECM forum.
    George

  • Site Studio and it's uses

    Ok so I was questioned about making a web page accessing UCM data for the end user, and I was wondering if Site Studio is the proper approach to tackle this kind of request. I was reading up on some materal on it and it seemed the right way to go, I just wanted to be sure before I commit to idea like that.

    With all respect
    making a web page accessing UCM data for the end useris hardly enough to decide which way to go.
    You can
    - use UCM's web GUI
    - create a site via Site Studio or SSXA
    - use a portal technology and expose UCM's portlets
    - create your own web application and get content from UCM via services or RIDC calls
    Site Studio is mainly for creation of sites, where site's documents (pages, images, multimedia, but also CSSs, templates or fragments) are stored in UCM. Site Studio's sites also support contribution mode where authorized users may modify content of the site directly in the WYSIWYG mode, or management mode, where site managers may add new site's sections, re-organize pages, etc. Is this something close to your requirements?

  • 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.htm

    Hi
    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

  • How to link to a file in UCM with content presenter site studio template

    Hi,
    I have Webcenter spaces with content presenter showing Site studio content.
    In this site studio region I have an element for rich text (html)
    Now we want to create a link in this text to an existing document in UCM.
    The question is how achief this?
    There seems no standard functionality for doing this.
    Any suggestion is welcome!
    Thanks,
    Edward

    Hi,
    I have Webcenter spaces with content presenter showing Site studio content.
    In this site studio region I have an element for rich text (html)
    Now we want to create a link in this text to an existing document in UCM.
    The question is how achief this?
    There seems no standard functionality for doing this.
    Any suggestion is welcome!
    Thanks,
    Edward

  • How to include one layout into other layout in Oracle Site studio designer

    Hi all,
    I have created the Header as on layout(This is my project specific even if we can go for fragments) in oracle site studio designer. It is the same case for footer, Left Nav. All these are primary pages in different sections. Now I have created the new primary page in different section, I would like to include all these layouts in to one layout and show the preview i,.e Header in the header place. Footer in the footer place.
    First of all, will it be possible? If so, could you please tell me how to go about this?
    As I am new to this site studio designer, I am really clueless in this matter. Please come forward with ideas.
    Any help would be much appreciated.
    Regards & thanks,
    Nirmala Vijaya Sekhar Varre

    What is the version of Site Studio are you using?
    Do you want your layouts to be editable by contributors or you want to pick things from the content server and show?

  • Language/Localization problem with Site Studio

    I have created a small site using Site Studio. Now in the homepage, there is a select option box where the user have to choose a language (English or Japanese) based on which the text on the page should get converted in a particular language.
    So for this, I have created a custom component where I have defined strings in the following way:
    <@ja.wwMyString=My String in Japanese@>
    <@fr.wwMyString=My String in French@>
    <@en.wwMyString=My String in English@>
    And when I see the text on the browser, it displays "My String in English" because the SystemLocale value is set as 'English-US'. So I need a way by which I can change the Locale of the site. So I have 2 questions:
    1. How can I achieve the same?
    2. Is my approach correct? Maybe there are better ways to do the same. I guess there will be a lot of manual work if I follow the approach described above.

    Any reply?

  • Check out native doc from Site Studio Contributor

    Why can't I (or my users) check out a native document from a dynamic list in contribution mode? Is there any way to accomplish this (besides installing software on every client's computer)? I modified the default dynamic list fragment to use the pdf (web-viewable) link to the document in lieu of the regular Site Studio URL (so that Site Studio doesn't try to apply the document to dynamic converter), as I want to simply display the PDF when the user clicks on it.
    All of that works great, and I can still check in documents just fine. However, "Edit Target" doesn't work in contribution mode, and even if I view the info on the document, and check it out from there, it doesn't even give me the link to download the original document. Is there a way around this?
    Thanks

    I guess, image needs to be in the Content Server. You can try desktop integration suite or webdav so that user can easily checkin the digital assets to the content server.

  • 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;", "&#38;#248;")-->
    because the server recognizes the o-slash as &#248, 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

  • Records Management crashes Site Studio

    I have not been able to run either RM Corporate or Universal RM on the content server and have Site Studio log in. As soon as either component is loaded it fails to load the fragments with a GET_FILE error complaining about the dID and retention schedule.
    I really need to get records manager up and running as well as Site Studio. Is there a workaround or a mechanism to shut off the retention for just the Site Studio? Or is there some undocumented configuration changes that need to be made to the Site Studio - I have looked at the queries and pages and there is nothing obvious?

    Well your issue if very curious to me. I wondered if in your pages anywhere you coded any kind of redirect? I wouldn't see how it would just direct out to some page on the internet by chance, so I wondered if you had programmed in a redirect, or if in the properties of a node for site studio you set an external url. For nodes in the hierarchy you can now put an external url, which could cause this kind of hting to happen.

  • How to make a call  to service from site studio templates?

    Hi,
    May be this is very basic but I am not able to figure out how to make a call to a service from site studio templates (hcsp). I have seen one example of service call in the dynamic list fragment. It makes a call to SS_GET_SEARCH_RESULTS service using executeService() method. But it doesn't take any parameters and also not very how returned results are captured.
    I want to execute WCM_PLACEHOLDER service. It takes 2 main parameters dataFileDocName and templateDocName. The returned result is typically a html response.
    The service typically is executed using http request and the url would be something like this
    http://hd-pratapm/ucm/idcplg?IdcService=WCM_PLACEHOLDER&dataFileDocName=VIRTUSAINC&templateDocName=DETAILS_REGION_TEMPLATE
    I think SS_GET_SEARCH_RESULTS service works in the similar fashion. I want to execute WCM_PLACEHOLDER service too using executeService() method. How to work with this? How can we pass parameters and capture returned results?
    Regards,
    Pratap

    Hey Pratap,
    If you are on a standard Site Studio template (page or subtemplate) you should be able to call the wcmPlaceholder idoc function directly. In fact calling the idoc function provides a lot more functionality then the service call (they locked down a few things in the service call since it is designed to be called from an external application).
    The idoc call would look something like: <!--$wcmPlaceholder("Sales", "placeholderDefinitionDocName=placedef_salescontact")--> (taken from page 208 in this doc: http://download.oracle.com/docs/cd/E10316_01/SiteStudio/10gr4/Pdf/Site_Studio_10gR4_Designer_Guide.pdf)
    As a general note when you are in idoc script and want to execute a service you call <$executeService()$> as you saw in the dynamic list. The parameters that the service runs on are in the data binder of the current request. To set parameters for an execute service you simply set idoc variables on the page before it. Example:
    <!--$QueryText="dDocType <matches> `Document`" -->
    <!--$executeService("GET_SEARCH_RESULTS")-->
    As for the response when you execute an idoc function, like wcmPlaceholder, that returns a String the response is immediately output to the page in the location you called the function. This would be similar in concept to a jsp scriptlet that outputs a string <%=myResponseString%>
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_ECM >
    Edited by: Andy Weaver on Jul 7, 2010 7:59 AM
    Added response detail.

Maybe you are looking for