Site Studio Contributor as a form

I have a requirement where end users need to fill in a short form (1 x plain text field, 1 x WYSIWYG field) and submit it as an xml file to the content server. We cannot use the Site Studio Contributor in this scenario, but wanted to hook into the Site Studio services/methods/functions mainly for security i.e. cross site scripting etc.
Does anyone know if documentation for services/functions to use? Any tips would be much appreciated.
We using 11gr3

Hi,
I have created the custom componenet through component wizard. I have created resource, template file and service as hello_user.
I have referred the site
http://books.google.co.in/books?id=TiUzMYbpg2MC&pg=PA133&lpg=PA133&dq=content+server+custom+component&source=bl&ots=mIpxohCXKw&sig=slBafW2vpwIL75KzUYpTUToDjVQ&hl=en&ei=14RISuPeI9SxsgbspLXXCQ&sa=X&oi=book_result&ct=result&resnum=2
When I ran the service using url. http://<mycontentserver>/idc/idcplg?IdcService=HELLO_USER, it showed me the error as below
Content Server Request Failed
Configuration error for request 'HELLO_USER'. No dynamic HTML page.
I hope you get the problem details.
Thanks,
Shyamal

Similar Messages

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

    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)

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

  • Modifying the Site Studio Contributor Form

    Is there a way to modify the wcm.sitestudio.form.htm? I say this because each time I make a simple change to it, Site Studio doesn't use my change. It looks like it's reverting to a different copy other than the one I edited.
    I can see a custom/sitestudio/wcm.sitestudio.form.js file - so I'm assuming I can add any Javascript mods there, but what about the form htm file itself?
    Basically here's what I'm trying to achieve. I'm using a jquery library to resize certain images on the Site Studio layout files. But when you're in Contributor mode you see these images as full size. I'd like to use that same jquery library when the contributor is in the edit mode to resize the images in it as well.
    Thanks.

    Update: I found the answer to my problem. I found I can use a simple component to over ride this file.

  • Uploading New iamges - Site Studio Contributor

    Currently I am working on developing a site with Site Studio. I have created all the necessary components for user contribution but I have a majro stumbleblock for adding new images. Currently, both the WYSIWYG element and the Image element in Site Studio only allow contributors to select images that are already on the content server. If not on the content server, the users have to check in new content to be able to select it. I want the users to be able to select images directly from their local machine and upload them to the site through site studio and not having to go through ucm, the same way you can upload files by choosing local content and then check it in through site studio. Am I missing something here or it cannot be done this way?
    any help is appreciated.
    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.

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

  • Site studio contributor data files with sections

    Is it possible to have sections with in site studio contribution data files and display list of section titles as hyper links in site studio site and show only that section content on click of section title.
    Number of sections are vary from document to document (So we can't use one element as a single section).
    Thanks...

    I am not aware that out-of-the-box Site Studio would have such an options.
    You do have sections (defined in Region Definition), so most likely you'd have to customize your user experience (so that only sections defined on the fly are shown). Note that Region Definition corresponds to a logical "object" (you may abstract that sections are object's attributes), so rather than show/hide sections you might also want to select a different region definition. I also remember that some time ago Site Studio was able to do "lazy load" (display a section only if user asked for it - this requirement tried to address slow loading times of the page); unfortunately, I'm not sure how this feature can be turned on.

  • Site Studio Content in a Java Class

    Hi Gurus,
    I would like to know if there's some Webcenter Content Service ou some Webcenter Portal interface, service, class ou data control to consume the content from a Site Studio Contributor Data File in my custom Java class.
    Obviously I can request the XML from some URL and consume as any XML in Java, but if there's some way to abstract this implementation I think that would be a best practice,      
    eventually Oracle can do some change in XML patterns and if I use some service I don't need to worry about this.
    There's in a Site Studio service called WCM_EDIT_DATA_FILE that I thought that can help, but this works in browser request, but no in my custom java service.
    It's possible test this service in this way:
    http://<host>:<port>/cs/idcplg?IdcService=WCM_EDIT_DATA_FILE&dDocName=<dDocName>&IsSoap=1
    I know that this thread are related with Webcenter Content, but I think that is more possible that someone from Portal already did this.
    Thanks for help

    Never mind. I resolved this using a ResourceBundle, thanks to another posting on this forum. I must say, the oracle documentation for this feature is scant and erroneous.
    How does one go about accessing a java resource object from a java class loaded into the database?
    I created a.properties file and loaded it using loadjava.
    Next I wrote a class in which I try to load the resource:
    import java.io.*;
    import java.util.*;
    public class C {
    public static void load() throws Exception {
    Properties p = new Properties();
    p.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("a.properties"));
    I then published method load as procedure p.
    When I execute p, I get the following error:
    SQL> exec p
    java.lang.NullPointerException
    at C.load(C.java:5)
    BEGIN p; END;
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.NullPointerException
    ORA-06512: at "QSI.P", line 0
    ORA-06512: at line 1
    Thanks
    Suresh

  • Mutiple contributor contribute through Site Studio

    Hi,
    Just a quick question here, can multiple user/contributor make a check in through Site Studio at one time?
    I use the Site Studio for check in doc from Oracle Portal into UCM. As everyone knows, when do a contribution from Site Studio, only one user can do that at a time. Can we change that so multiple user can do check in at the same time?
    Thanks in advance.

    First of all, user don't wan to use the native UCM interface,Any detail why?
    so I need to find a way for them to be able to do a check in from Oracle PortalActually, as far as I know Oracle Portal has its content store (by default, sadly, not UCM). Personally, I don't know much about it, but when I take the example of WebCenter (once PS3 is finally out), it takes:
    - hit a portal button triggering the "Add New Content" activity
    - if necessary, provide metadata, or just the content file
    - get the file uploaded (at the background, it is stored in UCM by calling a service - most likely)
    - alternatively, the ADF component might be capable of drag-and-drop to skip the first two steps
    Sorry to repeat myself, but I don't get why you need a SS Site (or even the native UCM) to do this? Isn't the portal sufficient? If you cannot use CPS (yes, I meant this one) you should be able to write a simple Java app (probably interfacing UCM via RIDC or web services) that will do a similar work like UCM check-in form, will look like your users want and will be hosted by your portal. In fact, I'd be surprised if something like that does not exist somewhere in the world (ask at this forum: Oracle Application Server Portal
    If you insist to use Site Studio, you solution can look similar to what is described above - create a form-like page whose 'post' button will call a check-in service. If you have a chance to take a look at the Oracle standard Ravenna demo, there is a very similar scenario - Contact Us form, which contains several fields that are transformed to a XML file, checked-in and sent to a workflow for review.

  • Best Practices for Forms within Site Studio Templates

    Last summer our university redesigned our entire website using site studio. We only use the content server for the SiteStudio add on. During the redesign, we found that it wasn't clear how we were supposed to migrate our current web forms (applications, payment forms, etc) to sitestudio. Our current workaround is to place the form within the content server, and have it submit data to a cgi (perl,php) placed on a separate web server. We wrap the backend of the form within an html template that looks like our sitestudio templates so that it appears to the end user that they are still on our website.
    Obviously, this is not ideal. I have been reading documentation on how to use the content server to host JSP files. The jsp files run flawlessly if they are accessed via the weblayout folder directly. I have not yet found a solution that will allow me to wrap my jsp forms within our existing sitestudio templates.
    Has anyone else encountered this problem, or come up with an alternate solution to this problem?

    Thanks, I appreciate your taking time to find the precise answer. Just today this bit me again.
    I have a need to modify the ComboBox template to italicize placeholder text.  That's a easy thing to do; however, now that I've created a new template I have to name it and add a Style={StaticResource MyNewStyle} to ALL the comboboxes in my app. 
    If I leave my new template unnamed - to override the default - none of the theme resource changes that I already have in place are picked up by the existing ComboBoxes, and they revert to their default look.
    There's clearly something wrong in the way I'm doing it or the way it's implemented.

  • Google recaptcha Implementation in Site Studio Custom Forms

    I am implementing recaptcha in my custom html forms which i have defined in custom component resource.for recaptcha implementation i am using recaptcha4j-0.0.7.jar ,on form submit it calls my custom service 'MyMail' which executes javafunction where i am calling recaptcha fuction to verify recaptcha text and after that sending Form details to given Email Address.*But when i am redirecting to same page for sending message for recaptcha response all form fields values goes blank.*
    Is there any other way to retain form values when my service returns recaptcha response?
    <form id="DataForm10" class="form" action="<$HttpCgiPath$>?IdcService=My_MAIL" method="post">
    <fieldset class="rc_grey">
    <input type="hidden" name="Email" value="<$email$>"/>
    <input type="hidden" name="RedirectUrl" value="<$ssGetServerRelativeUrl(siteId, nodeId)$>"/>
    <ol>
    <li>
    <div class="grid_4 alpha">
    <label for="name"><em> *</em>Your Name</label>
    </div>
    <div class="grid_5">
         <input type="text" name="name" id="name" class="mandatory"/>
    </div>
    </li>
    <li>
    <div class="grid_4 alpha">
    <label for="reference_no"><em> *</em>Your Reference No (located top left of payslip)</label>
    </div>
    <div class="grid_5">
         <input type="text" name="reference_no" id="reference_no" class="mandatory" />
    </div>
    </li>
    <li>
    <div class="grid_4 alpha">
    <label for="dob"><em> *</em>Your Date of birth</label>
    </div>
    <div class="grid_5">
         <input type="text" name="dob" id="dob" class="mandatory"/>
    </div>
    </li>
    <li>
    <div class="grid_4 alpha">
    <label for="ni_number"><em> *</em>Your NI Number</label>
    </div>
    <div class="grid_5">
         <input type="text" name="ni_number" id="ni_number" class="mandatory"/>
    </div>
    </li>
    <li>
    <$include recaptcha_inc$>
    </li>
    </ol>
    </fieldset>
    <div class="s_mrg">
              <input type="submit" value="Send" class="button" />
    </div>
    <div class="clear"></div>
    </form>
    Also if there is any other better approach to implement google reCAPTCHA in oracle UCM Site Studio?Please Suggest

    Hi Mikey,
    This code is not working because when i am redirecting on same Form page all m_binder data will lost , so the response data will be blank on page after redirecting.You can see theprevious form code where i have specified RedirectUrl input hidden field and in my java fucntion i am only appending Response message with RedirectUrl parameter.
    if (reCaptchaResponse.isValid()) { 
              // this command is used to send email to the client. The message
                   // sent is a template (Mail), and the data to format the
                   // message is taken out of m_binder, contained in "this"
              boolean response=InternetFunctions.sendMailTo(emailStr, "Mail", subject, this.m_service);
                   redirecturl=redirecturl+"?Response="+response;
                   m_binder.putLocal("RedirectUrl",redirecturl);
         } else {
              redirecturl=redirecturl+"?valid="+reCaptchaResponse.isValid();
                   m_binder.putLocal("RedirectUrl",redirecturl);
              }catch(Exception e){
                   e.printStackTrace();
                   redirecturl=redirecturl+"?error="+e.getMessage();
                   m_binder.putLocal("RedirectUrl",redirecturl);
    so please tell me is there any other way to submit my custom form and will display previous form field values entered by user when recaptcha response will  show on same page  through my service.
    Thanks
    Anubhav

  • Simple Contact form in Site Studio

    I'm trying to build a simple Contact Us form in a Site Studio website. I've built the front end form using the FCK editor, but I'd like to be able to email the form data. Does IdocScript have built in functions to handle emailing form data? I don't want to store it on Content Server, or check any documents in, just email the data.
    Right now I just have the form action pointing to PHP script I host outside the Content Server, but it seems like it would be cleaner if this could just submit back to the Content Server.
    Thanks,
    -Jason

    If you want use something existing or out-of-the-box (OOTB), the "easiest" way would be to post to the SUBMIT_HTML_FORM idcservice. When the form is submitted, a copy of the form is checked into the content server, which you can then have subscriptions alert users via email.
    Here is some help on getting forms to work via the SUBMIT_HTML_FORM idcservice if you don't know what I'm talking about. I wound up implementing this [almost] exact solution about 1.5 years before Kyle's post - just tooting my own horn here :) - but props to Kyle explaining it pretty well. There are many tweaks that can be made, but it works quite well on a fundamental level. You can see some of the "issues" I'm still running into by reading my (Andrew) comments, but you're using the same editor that Kyle did, so you shouldn't run into any of the issues I did.
    I also went one step further by writing my own email (using javamail) idoc function and calling it anytime a new form was submitted. This is obviously something that is not OOTB and reserved for advanced discussion.
    Good luck!
    Edit: Stupid "insert a link" doesn't work. Use standard HTML tags to insert hyperlinks.

  • The contribution form load very slow in Site Studio

    We have created a site on ucm with Site Studio 10.1.4.5.0 and the contribution form load is very slow and. When we puch Ctrl + Shift + F5 the page delay 20 seconds on loading.
    Any idea?
    Thanks a lot.

    catch all answers #2,3,4
    2. repair disk permissions / verify disk
    3. run diskwarrior to verify directory structures on all disks
    4. reinstall QT7 - people have noted very odd behavior from 7.0
    x

  • Validation Script in Site studio

    Hi,
    I have created the Custom element form for date, I need to validate the data entered in contributor mode via Validation Script.
    I have created the Validation Script but I'm not able to read the parameter i.e. date.
    Returning true or false from the validation script is handling the validation. Retuning "false" shows one pop up .. that is ok. but how can we put user defined message in that pop up.
    So I have two queries:
    1. Reading the parameter in validation script.
    2. Putting user defined message in the pop up.
    Thanks in advance,
    MAK

    Sorry I don't have an answer for you, but I wanted to say that we have had problems with Design mode in general and don't use it anymore. Switching between Source and Design has cause multiple errors in our Site Studio template. We do all of our Designer editing in Source mode. Any actual design work is done in an external editor and the HTML source is then brought over into Site Studio in Source mode.
    I was disappointed when 10gR4 came out and Oracle said they did no significant changes (improvements) to Site Studio Designer application.

  • 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

  • Connection timeout on hotel wifi - only with MacBook8.1 (810.9)  configd plug-in:8.1 (810.9)

    I'm having a "Connection Timeout" issue while trying to connect to my hotel's WIFI. I bought an ex-lease refurbished white MacBook (Build 12E55 - 2.4GHz, the last 2010 model I think) a couple of weeks ago. I bought it so I could use it while on vacat

  • Can I go to iCloud and see my photos

    can I go to iCloud and see my photos and if so, how do I do it on an iMac?

  • Webservice : priority

    Hi, is it possible to assign a priority to an Abap webservice ( comparable to the threading mechanism in java ? ) . thank you, Rolf.

  • Running probes on shared storage?

    Hi. I'm trying to avoid the hassle of having to manually shut down the probes every time I need to do maintenance (mode) on my hosts. As long as the probes are deployed on local datastores this is mandatory. How about instead putting the probes on sh

  • ISync won't open after 10.4.7 update

    As per the subject line, after installing the latest 10.4.7 update via the Software Update application, my iSync has stopped working. If I click on it it just bounces away in the dock but never actually opens. I tried downloading the Inetl Combo upda