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.

Similar Messages

  • 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

  • How to pass idoc parameters in a validation script? (10gR3 site studio)

    Obviously idoc won't work in the actual validation script, so I'd like to use it to generate the parameters to pass to a custom function.
    If I add <!--$siteId--> as a parameter in design mode, it'll be added as: &amp;lt;!--$siteId--&amp;gt; which doesn't work.
    If I manually add <!--$siteId--> to the parameter code in Source mode, this works just fine. However, once I enter design mode, Designer strips it out and now I have no parameter.
    Is there any way to somehow escape the less than/greater than symbols in Design mode?
    It's really unfortunate how the contributor windows are static HTML pages that don't retain what site they're on. Maybe this has changed in the 10gR4.

    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

  • Site Studio Publishing Utility installation problem

    Hi,
    I have been having a problem installing site studio publishing utility I am using Oracle database, and I have successfully run the script called "syn_server.oracle8.sql" that came with SSPU and edited "cns.oracle.sql" with the correct database information.
    However, when I start the publishing utility (by running "cns.oracle.sh"), I get this exception. It says that the database was created for an "earlier version of Oracle site studio publishiing utility". I have tried to search for a solution, but in vain.
    Does anyone know what this is?
    Note: The output is included at the end of the post.
    Thanks in Advance.
    Ayman
    [Nov 27 06:50:42] INFO: syndicator: Loaded config file /export/home/asset/SSPU/cns.oracle.config
    [Nov 27 06:50:42] INFO: syndicator: Starting Oracle Site Studio Publishing Utility v10.1.3.3.0 on 10.0.2.15 [08:00:27:5c:22:56]
    java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    [Nov 27 06:50:44] WARNING: database: First Chance SQL Exception (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[com.bitmechanic.sql.PooledConnection@16c79d7] exception:
    java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    [Nov 27 06:50:45] WARNING: database: First Chance SQL Exception (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[com.bitmechanic.sql.PooledConnection@12bcd4b] exception:
    java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    [Nov 27 06:50:47] WARNING: database: First Chance SQL Exception (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[com.bitmechanic.sql.PooledConnection@cf66b] exception:
    java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    [Nov 27 06:50:48] ERROR: database: Retry count exceeded. Update Failed. (INSERT INTO SINPermission(RoleID,ResourceOperationID,Scope) VALUES(-1, 29, 3)):[null]
    [Nov 27 06:50:48] ERROR: database: Error upgrading database schema exception:
    com.kinecta.util.KException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
    ; nested exception is:
         java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:703)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:631)
         at SiCloneSyndicator.SINDatabase.upgradeDatabaseSchema(SINDatabase.java:242)
         at SiCloneSyndicator.SINDatabase.open(SINDatabase.java:188)
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:361)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    Caused by: java.sql.SQLException: ORA-02291: integrity constraint (SSPU.FK_PERMISSION1) violated - parent key not found
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:878)
         at SiCloneSyndicator.SINDatabase.executeUpdateEx(SINDatabase.java:664)
         ... 6 more
    [Nov 27 06:50:48] CRITICAL: database: This database was created for an earlier version of Oracle Site Studio Publishing Utility. Please upgrade the database. Current schema version is: 33. Minimum schema version is 34.
    [Nov 27 06:50:48] CRITICAL: syndicator: failed to open the database
    [Nov 27 06:50:48] CRITICAL: syndicator: Shutting down on critical error exception:
    com.kinecta.util.KException: failed to open the database
         at SiCloneSyndicator.SiCloneSyndicatorApp.init(SiCloneSyndicatorApp.java:364)
         at SiCloneSyndicator.SiCloneSyndicatorApp.createServer(SiCloneSyndicatorApp.java:97)
         at bootstrap.ServerStart.main(ServerStart.java:105)
    [Nov 27 06:50:48] INFO: syndicator: Stopping Extensions...
    [Nov 27 06:50:48] INFO: syndicator: Stopping Administration Server...
    [Nov 27 06:50:48] INFO: syndicator: Stopping Master Server...
    [Nov 27 06:50:48] INFO: syndicator: Stopping Content Server...
    [Nov 27 06:50:48] INFO: syndicator: Stopping ICE Server...
    [Nov 27 06:50:48] INFO: syndicator: Saving Config File...
    [Nov 27 06:50:48] INFO: syndicator: Stopping Logging...
    [Nov 27 06:50:49] INFO: syndicator: Closing Database Connections...
    [Nov 27 06:50:49] INFO: syndicator: Syndicator Shutdown Complete
    [Nov 27 06:50:49] INFO: syndicator: Saving Config File...
    [Nov 27 06:50:49] INFO: syndicator: Stopping Logging...
    [Nov 27 06:50:49] INFO: syndicator: Closing Database Connections...
    [Nov 27 06:50:49] INFO: syndicator: Syndicator Shutdown Complete

    Hi Ayman ,
    On your db login as administrator user (if it is oracle then "sys" user) and execute the following sql command :
    grant create sequence to user <user name> ;
    place the user name that is created for SSPU to connect with the DB .
    After that execute syn_server.oracle8.sql again and then start SSPU , this issue should be done away with then.
    Let me know how this goes .
    Thanks
    Srinath

  • Install different versions of Site Studio Designer...

    Hi all,
    I have to install different versions of the product in the same machine (Site Studio Designer 7.7 (currently installed) and Site Studio Designer 10g).
    When I am trying to install 10g version, I get a message to delete the previous version, and I can not install.
    I have seen that there are ways to run different versions already installed on your PC (running scripts pointing to the dll files for each version), but can not find anything on the previous step to install them.
    Can anyone help me?
    Thanks in advance

    Hi all,
    In case anyone has the same error, I've got a possible solution.
    I have changed the directory name of the Stellent Site Studio Designer 7.7. I tried to install de new version (10gR3), and I clicked 'Yes' to uninstall the previous version.
    The new installation was successfully.
    The, I had created a script to register their separate DLLs before launching. So you'll need to create a batch file for each Designer and put the following:
    C:\WINDOWS\system32\REGSVR32 /s "C:\Archivos de programa\Stellent Site Studio\Designer\7.7\SSHelp.dll"
    C:\WINDOWS\system32\REGSVR32 /s "C:\Archivos de programa\Stellent Site Studio\Designer\7.7\SSHtmlTidy.dll"
    C:\WINDOWS\system32\REGSVR32 /s "C:\Archivos de programa\Stellent Site Studio\Designer\7.7\SSLoggerEngine.dll"
    C:\WINDOWS\system32\REGSVR32 /s "C:\Archivos de programa\Stellent Site Studio\Designer\7.7\SSWebBrowserEx.dll"
    "C:\Archivos de programa\Stellent Site Studio\Designer\7.7\SiteStudioDesigner.exe"
    and similar for 10gR3 version, as indicated in the next thread: Site Studio Designer Install on windows 7 - 64 bit
    Regards.

  • 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

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

  • Migrating Site Studio pages to 11g

    We are in the middle of an upgrade from 10gR3 to 11g, and I am trying to get our Site Studio sites working in the new environment. The Sites were originally developed in 751 and migrated up to 10gR3 in 2009. The problem is that many of the pages are now throwing JavaScript errors and not working as a result.
    When I dig into the source of the pages in error, I foundnd a reference to idcBundle.js that not longer exists in 11g. I think this script defined a lot of the functions used in base.js, such as idc.schema and idc.string. I have replaced the reference to idcBundle.js with bundle.js, and that appears to have resolved some of my issues, but I am still getting some errors in base.js with references to idc.schema ("idc.schema is not defined").
    I have been back over the doco a couple of times and found very little on this subject. Does anyone have any ideas or suggestion on this?
    Please note that I didn't develop the sites initially, so I don't know why the original developer used these scripts in the first place. I just have to get them working in 11g. Any input is greatfully received.
    Thanks,
    Alec

    Hi Remmer ,
    I tested this using the following scenario :
    1. Create a Site and set it to Secure public group
    2. Launch this site , it will show the login screen - checked tracing and it shows to redirect to GET /adfAuthentication?login=true
    and redirects to GET /cs/login/login.htm
    3. Enter the credentials - POST /cs/login/j_security_check is called and the parameters are passed as :
    j_character_encoding=UTF-8&j_username=weblogic&j_password=welcome1
    4. This again redirects to GET /adfAuthentication?login=true which in turn (if authentication is successful ) redirects to http://hostname:port/<Site>/index.htm
    So I believe this should work in your case :
    <input type="hidden" name="RedirectUrl" value="/OurSite/index.htm"/>
    Basically the current form code need to be re-designed and using the above urls / login authentication params will need to test with Redirect part .
    Create a new form and test , update this post how it works .
    We can take it forward accordingly .
    Thanks,
    Srinath
    Edited by: Srinath Menon on Jan 22, 2013 8:23 AM

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

  • Jquery and site studio

    Hi there,
    has anyone on here had any success using jquery within site studio assets? I'm having odd behavior just trying to read in the files depending on where I place the script call to import using the following. If you have had success can you share how you were able to solve the oddities? An example of the oddities is that depending on where i place the script calls to import the js files the rest of the html does not come back from site studio. it is as if site studio chokes on the call and stops composing the html that should get to the requestor. if i move the the call around to different points within the <head> tag i get different behavior.
    <script src='<!--$wcmUrl("resource","JQUERY151")-->'/>i am used to using jquery for heavy interactions at the UI level but have not been able to get both jquery and jqueryUI libraries to work at the same time from within site studio....thanks for any response.
    -robert

    I haven't used wcmUrl() extensively, but I've had no issue using jQuery when putting the js files as a fragment asset. Have you tried making sure that the generated url is actually correct? If JQUERY151 happens to be a fragment, you have to use wcmFragment(), not wcmUrl(). If everything else fails, try updating to the latest patch to see if that resolves it. Hope this helps.

  • (UCM) Problems with Site Studio

    Hi! I've installed Content Server and Site Studio Designer for it today and tried to do an example from http://home.c2i.net/toreingolf/oracle/ucm/my_first_ucm_site.htm . Everything was fine: i've created header and footer fragments, i've created menu and breadcrumb fragment. Then i've created layout page and put all fragments there. After this i opened IE and tried to watch what i've got. Unfortunately there wasn't menu on my page. I tried to refresh page several times -> didn't help :). Then i tried to reload UCM. It didn't helped either. Then i decided to close Studio Designer (it was opened when i reloaded UCM). When i hit close button a message box appeared. It asked me whether i wanted to reload some scripts that were out of date. I hit "yes", Studio Designer made something and closed. After it i've finally seen my menu (so, all i needed was to reload that scripts!).
    Then i tried to continue my tutorial and opened Studio Designer again. I've connected to my MFS site and tried to select "Layout Pages" from Site Assets dropdown list but i couldn't. It showed me error:
    Failed to get search results with query "dExtension <matches> 'hcsp' <or> dExtension <matches> 'jsp'"
    (Unable to retrieve search results. Unable to retrieve search results. Unable to execute query 'CtextSnippet'. ORA-06550: row 1, column 13:
    PLS-00201: identifier 'STELLENT.GET_SNIPPET' must be declared
    ORA-06550: row 1, column 7:
    PL/SQL: Statement ignored
    And now it shows me this error whatever i choose from Site Assets dropdown list. Even if i create a new site. Can anyone tell me what happened and what to do?

    Hi
    Failed to get search results with query "dExtension <matches> 'hcsp' <or> dExtension <matches> 'jsp'"
    (Unable to retrieve search results. Unable to retrieve search results. Unable to execute query 'CtextSnippet'. ORA-06550: row 1, column 13:
    PLS-00201: identifier 'STELLENT.GET_SNIPPET' must be declared
    ORA-06550: row 1, column 7:
    PL/SQL: Statement ignored
    This error seems to suggest that you had recently moved from database.metadata to database.fulltext on your CS. Was that done? If yes then under \database\admin you will see a script batchsnippets.sql. Run that against your database and then try to do the same actions.
    CS install guide says that when you set the search indexer engine as Full text then you need to run these scripts so that CS has the snippet functionality enabled for full text searches.
    Hope this helps
    Thanks
    Srinath

  • Logout implementation using Site Studio

    Hi,
    I just wanted to know if the logout functionality of UCM has been implemented using site studio and if yes, how to go about it. We are currently using the logout component that is present in UCM. However, the problem is, that the usage of that component requires you to add a registry entry in IE, to allow this to work. This isnt something that can be done on all machines and is hence not a feasible solution. So I was wondering if there's any other way that this can be implemented. Suggestions please?!
    Thanks.

    Is there a way to use Fragments or do I need to get a developer to write me non-Stellent code? Well, you need to get yourself a developer to write a fragment. And - dependet on what you want to do - maybe some Content Server customizaitons like custom services.
    Imho though it is not a good idea to use Site Studio as a web application plattform. A simple form is fine but if it gets more than that, you should consider writing a jsp or hcsp and check it in to the content server. This jsp or hcsp can still use your fragments and your html layout so that it does not look different from the Site Studio pages. Then you can link this script to a section in your Site Studio web site hierachy and by doing so include this dynamic part into your web site.
    Another approach for when you really need to do a lot of application stuff is to write the applications in another Java web app - not checked in to the Content Server - and use CIS to pull content from the Content Server. Or Web Services.

  • 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

  • Getting "Couldnot find Installable ISAM" error in script task in SSIS 2005 when trying to open (.xlsx files) Excel 2007-2010 files using VB script in Visual Studio 2005

    Hi Experts,
    I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
    HDR=YES"" in script task.
    When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
    My SQL server version is 2005 SP2 DE
    OS is Windows server 2003 EE SP2
    Could anyone please let me know what is the resolution for this error?
    Thanks and Regards,
    Adesh

    Hi Adesh,
    First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
    reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
    Regards,
    Mike Yin
    TechNet Community Support

Maybe you are looking for