IDOC script ' < ' be & lt;

Hello

We create a rule of activation in a profile of Configuration Manager.

The code looks fine, but when we save the code the ' < ' and ' > ' continues to change for a & lt; / & gt; in our script idoc

11.1.1.8 is the version we use and WCC did not previously.

New feature/config or bug?

Concerning

Tony,

Hi Tony,.

This is a problem of code with Applets when <> symbols are used. It would be solved by applying patches 4 MLR WCC pour.8 group. You can download this patch from MoS portal.

Number of patch: 18124781

Thank you

Srinath

Tags: Fusion Middleware

Similar Questions

  • IDOC Script - file

    Hello

    I use the following idoc script to set the value

    a folder:

    < #active.xAreaResponsavel $if as '1' $>

    < $dprDerivedValue = $' 4F98EE5F8AC02EF777E614C1F27AF038' >

    < #active.xAreaResponsavel $elseif as '2' $>

    < $dprDerivedValue = $' B1957B3CCB7325DC70630619566C90F9' >

    < $endif$ >

    This rule works at check-in, but the document to update the rule does not

    Can anyone help?

    Thank you

    I solved my problem by using the move User Interface of ADF.

  • iDoc Script to compare the metadata

    Scenario:

    Customers has a workflow approvers reviewers are selected when check-in, metadata and metadata xRevisors, xApprovers, is the list of multiple options and a table users view. But, the author, reviewer, and approver cannot be the same person. I create an iDoc Script to check for this, in the first step of the workflow:

    < $if author as "xRevisors" or dDocAuthor as 'xApprovers' or xRevisors like $ "xApprovers" >

    < $wfSet ("wfJumpName", "Check_participantes") $>

    < $wfSet ("wfJumpTargetStep", "contribution@HmbGgqDocQualidade") $>

    < $wfSet ("wfJumpEntryNotifyOff", "0") $>

    < $wfSet ("wfJumpMessage", "author, reviewer, and approver cannot be the same person.") ") $>

    < $endif$ >

    This work when I choose as a reviewer or an approver, but stand them sometimes more than one person and that's my problem, xRevisors and xApprovers metadata save more than one user, then author as reviewer or approver compare it is false. How to make the script check this?

    Or just convert the strings separated by commas results (<$rsMakeFromString$>) and loop games result sets.  This should be fairly simple.

    On another note, I see even where this line of code would work.

    <$if author="" like="" "xrevisors"="" or="" ddocauthor="" like="" "xapprovers"="" or="" xrevisors="" like="" "xapprovers"$="">-It's not comparing the fields, he compares a literal string, namely "is the value of the author as the word"xRevisors "?  How does this even in the first place?

  • IDOC script to get the list of users in alias

    Hello

    In the workflow script, I want to check if dDocAuthor exists in some alias. If there is, then proceed to treatment.

    I'm not able to compare dDocAuthor with users in alias. Infact I couldn't find any function of the IDOC script which returns users to alias.

    Help, please.

    Thank you

    Check out my blog post on how to get around the workflow via idoc if the author is part of a specific alias ():

  • Is it possible to use iDoc script to activate the Oracle text search?

    Hello, I created a query to search for files in a specific Department and I want to check if the files are uploaded in fact properly so I would combine the first part of my request that a comprehensive document, search for a key word.

    The server is configured to search for metadata database only, but I was wondering if you could create a script that would do a search for possible text anyway? If so, an example would be appreciated.

    Kind regards

    Iwona


    Be sure to check the documentation for your answers. They must be a primary (i.e., first) resource for you.

    http://docs.Oracle.com/CD/E28280_01/doc.1111/e26692/searchindex.htm

    No information contained in the response of section "Configuration of the search Index" your question?

    Hope this helps,

    -ryan

    * may not be the most recent document, but this is the first returned by a quick search on google on your keywords.

  • IDOC Script strEqualsIgnoreCase proceed to an erroneous assessment of the logical values.

    Hi again, this issue starts as the last one I put in the forum

    Re: Impossible to find values of metadata in workflow queue

    but it s quite different.


    I need help menus customization workflow action.

    I ve created a custom component with a resource html replacing setup_workflow_action_popups.

    Is basically the same code of origin. West only a little change: in the section linking approve I put this code (stupid I know)
    < $exec rsAppendNewRow ("PopupProps") $ >
    < $exec setValue ("PopupProps", "label", $ lc ("wwApprove")) >
    * < $if strEqualsIgnoreCase (dWfName, "Workflow1") $ > *.
    * < $if strEqualsIgnoreCase (dWfStepName, 'Step 1') $> *.
    * < $exec setValue ('PopupProps', 'function', 'javascript:alert('dWfStepName_seems_to_be_Step1_and_is_<$dWfStepName$>'); document. ("Approve_ < $dID$ >. submit();") $> *.
    * < $else$ > *.
    * < $exec setValue ('PopupProps', 'function', 'javascript:alert('dWfStepName_seems_NOT_to_be_Step1_and_is_<$dWfStepName$>'); document. ("Approve_ < $dID$ >. submit();") $> *.
    * < $endif$ > *.
    * < $else$ > *.
    * < $exec setValue ('PopupProps', 'function', 'javascript:alert('<$dWfStepName$>'); document. ("Approve_ < $dID$ >. submit();") $> *.
    * < $endif$ > *.
    < $exec setValue ("PopupProps", "ifClause", "AllowReview") $>
    < $exec setValue ("PopupProps", "class", "workflow") $>
    < $exec setValue ("PopupProps", "id", "workflowApprove") $>


    (I built the component, although I think is not necessary since I m changing only HTML, I rebooted the server content even I think that it is not necessary)

    I m I look translates into my Workflow assignments and active workflows.

    I have a great difficulty. It seems "If" clause does not work in Idoc.
    I m getting an alert with this message
    dWfStepName seems NOT to be step 1 and step 1 is

    This means that step 1 is not the same this step 1

    For example, < $if strEqualsIgnoreCase (dWfStepName, 'Step 1') $> does not work properly


    I then tried other forms with the same result

    < $if strEqualsIgnoreCase (dWfStepName, "step 1") == $vrai >
    < $if strEqualsIgnoreCase (dWfStepName, "step 1") == $TRUE >
    < $if strEqualsIgnoreCase (dWfStepName, "step 1") == $ 0 >
    < $if isTrue (strEqualsIgnoreCase (dWfStepName, "step 1")) $>

    I m really took to court. I Don t know where is the problem.

    Any clue?

    Thank you




    Thank you very much

    Simple question: are you sure that you are in step 1 from the stage of contribution? Why don't you debug your code and see what dWfStepName really gives you? Make sure also that you prune your variables with strTrimWs().

    Good luck.

  • dDocName in the resultset object gets a higher than the local variable preference: unable to set dDocName by linking using Idoc Script

    Hello

    I have the following code built using idocScript

    < $dDocName = $NomVariable >

    < $executeService ("DOC_INFO_BY_NAME") $ >

    Note: NomDeLaVariable value contentID for that 'DOC_INFO_BY_NAME' has to be executed.

    When I run this, I see that DOC_INFO_BY_NAME is getting executed for an ID of previous content that he was 'dDocName '. In other words, after allocation

    < $dDocName = $NomVariable >

    Does not take effect.

    I think that the value is not updated in the binder. How can I fix it.

    It is bit urgent, any help would be greatly appreciated.

    Thank you and best regards,

    Steven K.

    rsBlogPostings (copy of results of research) already has dDocName column and when you call executeService in a loop, resultset a preference on the local data. (I faced something similar and had no luck with #local.dDocName)

    (1) you can renmae the dDocname column in the rsBlogPostings using rsRenameField

    (2) if it does not, create your own loop as below

    <$iCountEnd =="" rsnumrows("rsblogpostings"),="" icountstart="1$">

    <$exec rsfirst("rsblogpostings")$="">

    <$loopwhile lcountstart=""><= lcountend$="">

    <$postAuthorImageEntry = ="" ssincludexml(rsblogpostings.ddocname,="" "blog_entry/authorimage/node()")$="">

    ...

    ...

    <$dDocName=authorContentID$>

    <$executeService("DOC_INFO_BY_NAME")$>

    <$exec rsnext("rsblogpostings")$="">

    <$lCountStart =="" lcountstart="" +="" 1$="">

    <$endloop$>

  • Question of IDOC Script.

    Hello

    Some explain what exactly what that means in sitestudio?

    <!-getValue ("#active", ssFragmentInstanceId & "_ssFragType") - >

    Thank you

    It seeks to assess the value of the variable. The name of the variable is built dynamically, so the line of code has portability (in this case it would work for several fragments).

    getValue (arg1, arg2) is a function that returns the value of a variable by its name. arg1 is a kind of scope and arg2 is the name of the variable

    In your example to break down the important bits

    arg1 = #active indicates the scope and order of the location of the search for the variable.

    Arg2 is dynamically built the name of the variable in two parts:

    ssFragmentInstanceId is a variable that contains the unique name that you gave this instance of the fragment when you dropped on the page
    "_ssFragType" is a literal string that is concatentated on the end

    In summary, this will return the value of 'type' of fragment that 'he' is. No doubt if it's a dynamic list, navigation etc.

    If ssFragmentInstanceId = myFragment, then the following lines of ode towing are essentially equivalent

    <$getValue(#active,ssFragmentInstance &="" "_ssfragtype")$="">
    <$#active.myFragment_ssFragType$>

    Who help me? If so please mark this answer to help people find this solution in the future

    Tim

    Published by: Tim Snell on May 21, 2010 03:43

  • How to access the url of the page referred by using script Idoc?

    How to access the url of the page mentioned by using Idoc script...

    For example

    If the following url (http://myhost/mysite) is called by the end-user, it redirects to the UCM login page.

    The page of connection, so I want to get their hands on the referring here (http://myhost/mysite). To do this, I followed the following documentation.

    I put IdcAuthExtraRequestParams = referer in

    /base_domain/UCM/CS/bin/intradoc.cfg and

    /base_domain/UCM/CS/config/config.cfg

    UCM server restarted and Http server.

    Used < $HTTP_REFERER$ > in my htm file. It does not display anything.

    Can I know what went wrong? Is there an alternative way to get this?

    @Jon, I saw some variables such as ssOrignialUrl have the information in the console, but they are lost when its consultation: in page.

    I pulled out the tracedump to the page itself, which gave me a new variable<$AUTH_TARGET_URL$> that contains this value.

    Thanks Jon at made me think so

  • script function IDOC to count the string

    Hello

    Does anyone know if there is any build-up in idoc script function to count the number of string.

    For example:
    A, B, C, D, E

    I want to count how many comma is using script idoc. If there is no generation in function, what would be the best way to achieve this.

    Thank you very much.

    There is no built-in function, but I would simply do this:

    <$rsMakeFromString("MyStringRS", "a,="" b,="" c,="" d,="" e")$="">
    <$numCommas =="" mystringrs.#numrows="" -="" 1$="">

    Good luck and please award points as you wish.

  • Switch to javascript value IDOCS

    I'm moving my Web site context root javascript code so that I will be able to open a page popup on some user action.

    It seems that the IDOCS script will not run if placed in the < SCRIPT > tags...

    Copy the following code in my:
    < script > var contextRoot = <!-$HttpContextRoot->; < /script >

    It is rendered as:
    < script > var contextRoot =; < /script >

    Is it possible that I can make one of these:

    (1) run IDOCS within the SCRIPT tag.
    (2) get a context root for Javascript
    (3) some how resolve the url of the page to the side Server and send it to the customer. (I think it goes back to the question (1). Not sure)

    You can certainly send Idoc Script JavaScript. Since Idoc Script runs on the server side, it runs before JavaScript. This means that you must put quotation marks (single or double) around your Idoc Script.

    Jonathan
    http://jonathanhult.com

  • Retention of records based on the end of the calendar year

    Content using WebCenter 11 g and Records Management, I'm looking for a way to create a rule of provision based on the end of a calendar year.  For example, the rule might wait two years after the end of the calendar year in which the content item has been published.  Does anyone know how to do this?  I'm looking for something that is easy to maintain, but right now my best option is to create a metadata field to end of calendar year and then do a little iDoc script to set point which is archived for each content.  I would really like to avoid this if possible.  Any ideas?

    I think what you're trying to do is to "synchronize on the period start date.  It is part of the definition of the trigger.

    http://docs.oracle.com/cd/E21764_01/doc.1111/e10640/e01_interface.htm#RMDSG620.

    Assuming that the trigger is based on the release date:

    -An item is activated in June 30, 2016.

    -After the date of recording, wait two years.  This makes the eligible trigger on June 30, 2018.

    - But you want to wait until the end of 2018 to make available.

    -Check the above mentioned framework would force alienation to fire on January 1, 2019, instead of June 30, 2018.

  • Disable the thousand - new content UI (ADF) separator

    Hi all

    It is possible to disable the thousands in the fields of integer type separator using content Webcenter native UI. To do this, we usually use the property below in config.cfg. But I need help to know if it is possible to disable thousands in new interface user (ADF)separator:

    DisableIntegerFormatting = 1

    Today, I have the property set in my environment, but this property is not recognazined in the new user interface.

    Any approach is welcome.

    Thank you

    Tharcisius Dal Moro

    The DisableIntegerFormatting serves purely Idoc Script as far as I know.

    https://jonathanhult.com/blog/2013/11/metadata-integer-format-WebCenter-content/

    I guess there is no way to do this in the user interface of ADF content. I would recommend a SR Oracle opening

    Jonathan

    https://jonathanhult.com

  • Return 200 status Code error handler

    Greetings,

    I have a section of my site assigned to be a "Error Handler", but when a user is brought to this page, the status code is a 200. As you can imagine, this has the potential to cause a lot of problems for processes that are based on work status codes.

    I found the following solution on another site, indicating to put that code Idoc Script at the top of the Page Template:

    <!-$setValue ("#local", "ssChangeHTTPHeader", "true") - >

    Unfortunately, doing the above does not work. Am I missing something?

    Any help is appreciated. Thank you!

    Josh

    I'm sure there's an easy solution here, but I can't find it on my box.

    Using Apache as a front end? They you could use mod_rewrite to redirect to a 404 page if a specific header exists in the answer. If you could put this on your error page:

    And then you have this in your Apache config file:

    RewriteCond% {HTTP:HTTP_FOUR_OH_FOURED}

    RewriteRule. * /not/ - found.htm [R = 404, L]

    More available here:

    mod_rewrite - Apache HTTP Version 2.4 Server

  • ResultSet embedded loops

    Hello

    I have a ResultSet in Idoc Script that contains the reports in a given year. I have to loop through this result set to display all of them. They usually appear in groups (example: 3 for 1 Jan, 2015, 5 reports for Jan. 15, 2015, etc.).

    What I would also like to get is the number of reports for a given date. In order to accomplish, I want to loop through the result set again whenever a new date is met.

    Here's what I do now:

    <!-$innerResultSet = "Search results"->

    <!-$previousDate = ""--> ".

    <! - $loop SearchResults - >

    <!-$currentDate = formatDateWithPattern (release date, "MM/dd/yy")->

    <!-not currentDate as previousDate $if->

    <! - $reportCount = 0 - >

    <!-$rsFirst (innerResultSet)->

    <!-$loopwhile getValue (innerResultSet, "#isRowPresent") - >

    <!-$if formatDateWithPattern (release date, "MM/dd/yy") as currentDate->

    <! - $reportCount = reportCount + 1 - >

        <!-$endif->

    <!-$rsNext (innerResultSet)->

    <!-$endloop->


    ...


    <!-$endif->


    ...


    <! - $previousDate = currentDate - >

    <!-$endloop->


    It seems that after the first iteration of the inner loop, that progress on the outer loop is lost (it only iterates on the outer loop).


    Thank you very much in advance for any help. I hope that the above code allows, if I need to elaborate please let me know.



    Thank you!

    Josh

    You can... hope you follow the logic.

    (create a resultset placeholder for records on the same day and display when the date is changed)

    ( documents)

    ( documents)

Maybe you are looking for