Hidden "Primary File" field in Content Profile

Hi all,
I want create my own Content Profile not have the +"Primary File+" field. Can I do that???
Thank you so much!

I'm wondering, if Image(file) is actually not what you could store in the Primary file (is it mandatory?)
Anyway, if you want to get rid of the Primary file, read this thread How to display "Metadata Only" field in Update Form (and in the related links https://blogs.oracle.com/kyle/entry/hiding_the_primary_file_field and https://blogs.oracle.com/kyle/entry/check-ins_without_files_ucm )
Either way, you can use standard GUI with all its features (Profiles) to support such scenarios. You could also use it if you want to update the existing information (e.g. in Main Content).
I'm still a bit doubtful about Image. If you have exactly one Image in a News item, then you could use Primary File (maybe all you need is to rename the heading?). If you can have more Images, then you might have to go with something like Attachments. Check this: How to check in an attachment when checkin a document in UCM 11g? or Re: full text search for attachement

Similar Messages

  • Hide primary file check in on profile

    I have the folloeing use case:
    1. Don't alllow user to checkin anything on profile check in page.
    2.this doc goes into workflow and there user should be able to checkin multiple documents in the second step of workflow.
    Please suggest any idea to achieve these two requirements.
    Thanks,

    Do you receive any errors (such as Idoc Script errors)?
    What if you put the configuration setting into config.cfg?
    Jonathan
    http://jonathanhult.com

  • Question about primary file

    When we create a contributor data file primary file i.e. default.xml is empty. From the contribution mode the changes which are made when saved gets reflected in XML. Any idea on which service is being called to update the default.xml file?
    Consider the following scenario ... we have a hcsp form with custom meta data fields and a text area field.
    The primary file field is hidden and am using sitestudio variables to check in default.xml file.
    When the data is entered and upon submission i am calling check in service. Is there a way to store the textArea content in the default.xml file?

    Hi ,
    Can you elaborate on what exactly is the requirement which you are looking at .
    Thanks
    Srinath

  • Set primary file as not required

    Hi,
    In a check-in form, there are two fields to upload a file:
    Primary file with is mandatory.
    Alternate file with is not mandatory.
    Based on fact that those fields are not listed in the configuration manager metadata list, is it possible to set Primary file field as not required?
    This procedure is necessary because sometimes I have to check in metadata from physical files (document on paper) and later, update the content with the scanned file (digital document).
    Thank you in advance.
    José.
    Edited by: José Márcio T. Jr on 21/03/2013 06:44

    See here: Re: Checking in content without defining a primary/secondary file

  • Change label of Primary File

    Hi all,
    I want to change the default label of "Primary File" field. So we can do it and how to do?
    Do you have any suggestion for it?
    Thanks so much!

    Probably the simplest (and no brainer) way is to modify the text of the label in the resource file (HTM, or in 11g, some other extension - check e.g. Help needed in URM German translation override with XLF file translation )

  • The content item must have a primary file.

    I am trying to check in a new file use the service "CHECKIN_NEW" in UCM 11.1.1.6.
    I checkin the *"CHECIN_NEW_TEST.hcst"* into the content server. And run it by submit the page to test the service.
    The error cause like this: Content item '001026' was not successfully checked in. The content item must have a primary file.
    And the log is :
    !csUserEventMessage,wladmin,192.168.6.250:16200!$!csUnableToCheckIn,001024!csCheckinPrimaryFileRequired
    intradoc.common.ServiceException: !csUnableToCheckIn,001024!csCheckinPrimaryFileRequired
    *ScriptStack CHECKIN_NEW_SUB
    3:doScriptableAction,**no captured values**3:doSubService,**no captured values**CHECKIN_NEW_SUB,**no captured values**3:validateStandard,dDocName=001024
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2326)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
    at intradoc.server.Service.createServiceException(Service.java:2315)
    at intradoc.server.DocServiceHandler.validateStandard(DocServiceHandler.java:1339)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:603)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
    at intradoc.server.Service.executeSubServiceCode(Service.java:4023)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:4018)
    at intradoc.server.Service.executeService(Service.java:4002)
    at intradoc.server.Service.doSubService(Service.java:3912)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.Service.doScriptableAction(Service.java:3964)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:620)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:528)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1956)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1354)
    at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1731)
    at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
    at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1704)
    at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    The CHECIN_NEW_TEST.hcst  as follows:
    <html>
    <head>
    <$include std_html_head_declarations$>
    </head>
    <$include body_def$>
    <$include std_page_begin$>
    <form name="cuxCheckinNewPG" method="get" action="<$HttpCgiPath$>">
    <input type="hidden" name="IdcService" value="CHECKIN_NEW" >
    <input type="hidden" name="dDocAuthor" value=<$UserName$>
    <$include idc_token_form_field$>
    <table width="53%" height="100" border="1">
    <tr>
    <td width="306" height="26">dSecurityGroup</td>
    <td width="325">
    <input type="text" name="dSecurityGroup" value="Public" /> </td>
    </tr>
    <tr>
    <td width="306" height="26">dDocTitle</td>
    <td width="325">
    <input type="text" name="dDocTitle" /> </td>
    </tr>
    <tr>
    <td>primaryFile</td>
    <td colspan="3"><INPUT NAME="primaryFile" TYPE="file"> </td>
    </tr>
    <tr>
    <td colspan="2" align="middle">
    <input type="submit" value="SubmitBtn" name="checkinSubmit"></td>
    </tr>
    </table>
    </form>
    <$include std_page_end$>
    </body>
    </html>
    Thanks
    Mandy
    Edited by: user8898100 on Jul 2, 2012 6:16 PM
    Edited by: user8898100 on Jul 2, 2012 6:17 PM

    It's really more of an HTML issue with the form itself than a Content Server issue.
    <form name="cuxCheckinNewPG" method="get" action="<$HttpCgiPath$>">You can't submit files using a GET method. This attribute must be "POST".
    <form name="cuxCheckinNewPG" method="POST" enctype="multipart/form-data" action="<$HttpCgiPath$>">

  • No Primary File required in profile

    Hi,
    In one of my UCM profile's I do not need to check in the Primary file(alternate file as well).
    I have been able to remove both form the profile but on checkin the pop up comes asking,"Please specify a Primary File".
    How can the abov be achieved ?
    Regards
    Shashwat

    In case anyone needs to know how to do this:
    https://blogs.oracle.com/kyle/entry/hiding_the_primary_file_field
    http://corecontentonly.com/2010/03/02/suppressing-alternate-file
    Jonathan
    http://redstonecontentsolutions.com
    http://corecontentonly.com

  • Hidden Private File and contents - hack or remote user?

    Hi Guys.
    Still think i have a hack or am being remotely accessed.
    Found a private folder - hidden. the name should be my name - who is wheel or system - usually in this area it is my name?
    would it be useful for you guys for me to show the contents of everything in here to see if here is a hack?
    would macscan be able to find this hidden priviate file and find if there was something malicious?
    - james.

    The private folder is a normal & essential part of OS X. It is hidden because you should not tinker with its contents unless you know exactly what you are doing.
    Likewise, system & wheel are normal & essential parts of the OS. See the "Owner, Group, Others" section of http://support.apple.com/kb/HT2963 for more about this.
    You are not being hacked. Everything you see is normal.

  • Error in checking a primary file

    Hi ,
    I am trying to use the CHECKIN_UNIVERSAL idcservice froma standalone java class. I have appeneded the following xml string in my request and trying to use a primary file from my local m/c.
    <code>
    requestString = "<?xml version='1.0' ?><SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Body><idc:service xmlns:idc=\"http://www.stellent.com/IdcService/\" IdcService=\"CHECKIN_UNIVERSAL\"><idc:document dDocName="+param1+" dDocAuthor=\"sysadmin\" dDocTitle="+param2+" dDocType="+param3+" dSecurityGroup="+param4+" dDocAccount=''>
    <idc:file name=\"primaryFile\" href =`D:/soapfile.txt`></idc:file></idc:document></idc:service></SOAP-ENV:Body></SOAP-ENV:Envelope>";
    </code>
    But when I am trying to invoke the service from a jsp, I am getting the follwoing error in the response:
    <idc:field name="StatusMessage">Content item &#39;test&#39; was not successfully checked in. The content item must have a primary file.</idc:field>
    I need to fix this urgently. Please help!!.

    I've tried to not use CHECKIN_UNIVERSAL. I've written java class (extends ServiceHandler) that changes some binder parameters.
    Written Service on top of this:
    <tr>
         <td>TEST_CHECKIN_BYNAME</td>
         <td>DocService
              34
              null
              null
              null<br>
              null</td>
         <td>3:determineID::2:null
    3:doSubService:TEST_CHECKIN_SUB:0:null</td>
    </tr>
    <tr>
         <td>TEST_CHECKIN_SUB</td>
         <td>DocService
              34
              null
              SubService
              null<br>
              null</td>
         <td>3:TEST_prepareMetaData::0:null
    3:prepareCheckinSecurity::0:null
              3:checkSecurity::0:null
              3:doSubService:CHECKIN_NEW_SUB:0:null</td>
    </tr>
    So:
    1. If I put
    m_binder.addTempFile(tmpFileName);
    in my method TEST_prepareMetaData Checkin succeeds.
    2. If I do not put m_binder.addTempFile(tmpFileName); //tmpFileName is the link to file being uploaded
    The same error is thrown: "The content item must have a primary file"
    First question: Why?
    1. If I put
    m_binder.addTempFile(tmpFileName);
    in method TEST_prepareMetaData Checkin succeeds - status message "<idc:field name="StatusMessage">Successfully checked in content item 'TTT_0000001'.</idc:field>";
    BUT there is no content item in the ContentServer!!
    Seqond question: Why?

  • Taking a filename in a 'file' field for upload..

    What I'm ideally trying to achieve here is to have a 'file'
    field in an insert record page, where I can select a file, and
    upload it to a folder on the server. I've sorted that part on it's
    own at least.
    But there also needs to be a text field, eg 'File_Name', in
    the table so that the page can display the image.
    So my question is, is it possible to browse to a file, and
    have the actual file upload, but also dump the text in a
    'File_Name' field automatically?
    Even then, there's the issue that you wouldn't want the whole
    text, but just the actual file name, as obviously the paths will be
    different - this may be something the 'trim' command can take care
    of?
    Hope that makes sense, and that there might be a solution...
    Cheers,
    Iain

    Thanks Steve - it's almost working - I even thought it was
    working at first - file name is dropping nicely into the file_name
    field - just the name without the path which is perfect.
    But the files don't seem to be uploading now. I've probably
    just got some things wrongly named, but I've been trying everything
    without success.
    At the moment I have a file upload page that looks like :
    <?php require_once('Connections/Photolibrary.php'); ?>
    <?php
    function GetSQLValueString($theValue, $theType,
    $theDefinedValue = "", $theNotDefinedValue = "")
    $theValue = (!get_magic_quotes_gpc()) ?
    addslashes($theValue) : $theValue;
    switch ($theType) {
    case "text":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue != "") ? intval($theValue) : "NULL";
    break;
    case "double":
    $theValue = ($theValue != "") ? "'" . doubleval($theValue) .
    "'" : "NULL";
    break;
    case "date":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "defined":
    $theValue = ($theValue != "") ? $theDefinedValue :
    $theNotDefinedValue;
    break;
    return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
    $editFormAction .= "?" .
    htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) &&
    ($_POST["MM_insert"] == "form1")) {
    $insertSQL = sprintf("INSERT INTO photos (Photo_File) VALUES
    (%s)",
    GetSQLValueString($_FILES['file']['name'], "text"));
    mysql_select_db($database_Photolibrary, $Photolibrary);
    $Result1 = mysql_query($insertSQL, $Photolibrary) or
    die(mysql_error());
    $insertGoTo = "fileuploaded.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
    header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_Photolibrary, $Photolibrary);
    $query_Recordset1 = "SELECT * FROM photos";
    $Recordset1 = mysql_query($query_Recordset1, $Photolibrary)
    or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN" "
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>
    <body>
    <form name="form1" action="<?php echo $editFormAction;
    ?>" method="POST" enctype="multipart/form-data">
    Type (or select) Filename: <input type="file"
    name="file">
    <input type="hidden" name="MAX_FILE_SIZE" value="25000"
    /> <input type="submit" value="Upload file">
    <input type="hidden" name="MM_insert" value="form1">
    </form>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    And a fileuploaded.php page that looks like :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN" "
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    move_uploaded_file ($_FILES['file'] ['tmp_name'],
    "Photos/{$_FILES['file'] ['name']}")
    ?>
    File uploaded
    </body>
    </html>
    Where 'file' is the name of the file upload field in the
    first page.
    Any ideas?
    Iain

  • File to IDOC ( need advise on how to map file fields )

    Hello friends,
    I spent quite some time reading all the helpful blogs and threads regarding File to Idoc scenario. However I had a very basic question ( maybe its trivial as I am just new to XI).
    In my scenario I have Bank Master data (in a CSV file) and it does not correspond exactly to Bank Master IDOC structure BANK_CREATE01.
    I understand that I will need to use File adapter to get this file into XI and then use an IDOC adapter to send it to R/3. (Pl correct me if I am wrong)
    Now when I use file adapter, how will I do the data mapping. I mean do I need to create a structure which corresponds to file fields and then XI will automatically load my file fields into this structure and then I can use this structure to map fields to IDOC.
    My only issue seems to be how will I see the FLAT FILE data in XML FORM in XI.
    To explain it further my CSV file looks like
    "GB,123456,11223344,GBP, London,.."
    where
    GB corresponds to country,
    123456 corresponds to Bank key,
    112233445566 corresponds to Bank account,
    GBP is currency and so on
    So should I create a data type maintaining same sequence of fields above without using any hierarchy like in the IDOC.
    If this is not possible then will I need to transform my input file exactly into IDOC structure and then use it.
    Hope I have manged to explain it.
    Appreciate your help on same.
    Thanks
    Shirin

    Hello Shrini,
    First of all The CSV file has to be changed in to an XML file , To achieve this File Content Conversion has to be done.Once this is done, please make the following changes in R/3 and PI to push Idoc in to PI.
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Thanks,
    Kiran.

  • Hidden/Visible text fields in saved PDF

    I got some very helpful advice yesterday about deleting content from hidden boxes (text fields). I have another related problem that somebody might have an answer for. I have text fields that are hidden or visible depending on selections made in drop-down lists. This is working fine but I've noticed something strange. When a user completes the form, saves it, closes it, and re-opens it--all of the text boxes are visible. Has anyone run across this? If so--is there some script I can add to fix this?
    //Clear out the StaticLocation DropDown list
    StaticLocation.rawValue = "";
    StaticLocation.clearItems();
    switch (this.rawValue)
         case "Top Center  ":
              StaticLocation.addItem("Lower Right");
              StaticLocation.addItem("None");
              break;
         case "Lower Right":
              StaticLocation.addItem("Top Center  ");
              StaticLocation.addItem("None");
              break;     
         case "Top Center":
              StaticLocation.addItem("Lower Left");
              StaticLocation.addItem("None");
              break;
         case "Lower Left":
              StaticLocation.addItem("Top Center");
              StaticLocation.addItem("None");
              break;
    //TextFields 1a-4a
    if (this.rawValue == "Top Center")
         TextField1a.presence = "visible";
    else
         TextField1a.presence = "hidden";
         TextField1a.rawValue = ""; 
    if (this.rawValue == "Lower Left")
         TextField2a.presence = "visible";
    else
         TextField2a.presence = "hidden";
         TextField2a.rawValue = ""; 
    if (this.rawValue == "Top Center  ")
         TextField3a.presence = "visible";
    else
         TextField3a.presence = "hidden";
         TextField3a.rawValue = ""; 
    if (this.rawValue == "Lower Right")
         TextField4a.presence = "visible";
    else
         TextField4a.presence = "hidden";
         TextField4a.rawValue = "";
    //TextFields 1b-4b
    if (this.rawValue == "Top Center")
         TextField1b.presence = "visible";
    else
         TextField1b.presence = "hidden";
         TextField1b.rawValue = "";
    if (this.rawValue == "Lower Left")
         TextField2b.presence = "visible";
    else
         TextField2b.presence = "hidden";
         TextField2b.rawValue = ""; 
    if (this.rawValue == "Top Center  ")
         TextField3b.presence = "visible";
    else
         TextField3b.presence = "hidden";
         TextField3b.rawValue = "";
    if (this.rawValue == "Lower Right")
         TextField4b.presence = "visible";
    else
         TextField4b.presence = "hidden";
         TextField4b.rawValue = ""; 
    //TextFields 1c-4c
    if (this.rawValue == "Top Center")
         TextField1c.presence = "visible";
    else
         TextField1c.presence = "hidden";
         TextField1c.rawValue = ""; 
    if (this.rawValue == "Lower Left")
         TextField2c.presence = "visible";
    else
         TextField2c.presence = "hidden";
         TextField2c.rawValue = "";
    if (this.rawValue == "Top Center  ")
         TextField3c.presence = "visible";
    else
         TextField3c.presence = "hidden";
         TextField3c.rawValue = "";
    if (this.rawValue == "Lower Right")
         TextField4c.presence = "visible";
    else
         TextField4c.presence = "hidden";
         TextField4c.rawValue = "";
    //TextFields 1d-4d
    if (this.rawValue == "Top Center")
         TextField1d.presence = "visible";
    else
         TextField1d.presence = "hidden";
         TextField1d.rawValue = "";
    if (this.rawValue == "Lower Left")
         TextField2d.presence = "visible";
    else
         TextField2d.presence = "hidden";
         TextField2d.rawValue = ""; 
    if (this.rawValue == "Top Center  ")
         TextField3d.presence = "visible";
    else
         TextField3d.presence = "hidden";
         TextField3d.rawValue = "";
    if (this.rawValue == "Lower Right")
         TextField4d.presence = "visible";
    else
         TextField4d.presence = "hidden";
         TextField4d.rawValue = "";
    //TextFields 1e-4e
    if (this.rawValue == "Top Center")
         TextField1e.presence = "visible";
    else
         TextField1e.presence = "hidden";
         TextField1e.rawValue = ""; 
    if (this.rawValue == "Lower Left")
         TextField2e.presence = "visible";
    else
         TextField2e.presence = "hidden";
         TextField2e.rawValue = "";
    if (this.rawValue == "Top Center  ")
         TextField3e.presence = "visible";
    else
         TextField3e.presence = "hidden";
         TextField3e.rawValue = ""; 
    if (this.rawValue == "Lower Right")
         TextField4e.presence = "visible";
    else
         TextField4e.presence = "hidden";
         TextField4e.rawValue = "";
    //TextFields 1f-4f
    if (this.rawValue == "Top Center")
         TextField1f.presence = "visible";
    else
         TextField1f.presence = "hidden";
         TextField1f.rawValue = ""; 
    if (this.rawValue == "Lower Left")
         TextField2f.presence = "visible";
    else
         TextField2f.presence = "hidden";
         TextField2f.rawValue = ""; 
    if (this.rawValue == "Top Center  ")
         TextField3f.presence = "visible";
    else
         TextField3f.presence = "hidden";
         TextField3f.rawValue = "";
    if (this.rawValue == "Lower Right")
         TextField4f.presence = "visible";
    else
         TextField4f.presence = "hidden";
         TextField4f.rawValue = ""; 
    //TextFields 1g-4g
    if (this.rawValue == "Top Center")
         TextField1g.presence = "visible";
    else
         TextField1g.presence = "hidden";
         TextField1g.rawValue = ""; 
    if (this.rawValue == "Lower Left")
         TextField2g.presence = "visible";
    else
         TextField2g.presence = "hidden";
         TextField2g.rawValue = ""; 
    if (this.rawValue == "Top Center  ")
         TextField3g.presence = "visible";
    else
         TextField3g.presence = "hidden";
         TextField3g.rawValue = ""; 
    if (this.rawValue == "Lower Right")
         TextField4g.presence = "visible";
    else
         TextField4g.presence = "hidden";
         TextField4g.rawValue = "";
    //TextFields 1h-4h
    if (this.rawValue == "Top Center")
         TextField1h.presence = "visible";
    else
         TextField1h.presence = "hidden";
         TextField1h.rawValue = ""; 
    if (this.rawValue == "Lower Left")
         TextField2h.presence = "visible";
    else
         TextField2h.presence = "hidden";
         TextField2h.rawValue = ""; 
    if (this.rawValue == "Top Center  ")
         TextField3h.presence = "visible";
    else
         TextField3h.presence = "hidden";
         TextField3h.rawValue = ""; 
    if (this.rawValue == "Lower Right")
         TextField4h.presence = "visible";
    else
         TextField4h.presence = "hidden";
         TextField4h.rawValue = ""; 
    //TextFields 1i-4i
    if (this.rawValue == "Top Center")
         TextField2i.presence = "visible";
    else
         TextField2i.presence = "hidden";
         TextField2i.rawValue = "";     
    if (this.rawValue == "Lower Left")
         TextField1i.presence = "visible"; 
    else
         TextField1i.presence = "hidden";
         TextField1i.rawValue = "";  
    if (this.rawValue == "Top Center  ")
         TextField4i.presence = "visible";
    else
         TextField4i.presence = "hidden";
         TextField4i.rawValue = ""; 
    if (this.rawValue == "Lower Right")
         TextField3i.presence = "visible";
    else
         TextField3i.presence = "hidden";
         TextField3i.rawValue = "";
    ----- form1.#subform[0].VariableLocation::ready:layout - (JavaScript, client) ----------------------
    if (TrimSize.rawValue == null) {VariableLocation.access = "readOnly";}
    else {VariableLocation.access = "open";}
    //1a-4a
    if (VariableLocation.rawValue == null)
         TextField1a.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2a.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3a.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4a.presence = "hidden";
    //1b-4b
    if (VariableLocation.rawValue == null)
         TextField1b.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2b.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3b.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4b.presence = "hidden";
    //1c-4c
    if (VariableLocation.rawValue == null)
         TextField1c.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2c.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3c.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4c.presence = "hidden";
    //1d-4d
    if (VariableLocation.rawValue == null)
         TextField1d.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2d.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3d.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4d.presence = "hidden";
    //1e-4e
    if (VariableLocation.rawValue == null)
         TextField1e.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2e.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3e.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4e.presence = "hidden";
    //1f-4f
    if (VariableLocation.rawValue == null)
         TextField1f.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2f.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3f.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4f.presence = "hidden";
    //1g-4g
    if (VariableLocation.rawValue == null)
         TextField1g.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2g.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3g.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4g.presence = "hidden";
    //1h-4h
    if (VariableLocation.rawValue == null)
         TextField1h.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2h.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3h.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4h.presence = "hidden";
    //1i-4i
    if (VariableLocation.rawValue == null)
         TextField1i.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField2i.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField3i.presence = "hidden";
    if (VariableLocation.rawValue == null)
         TextField4i.presence = "hidden";

    You are not saving the state of the form. You can do this programmatically but there is a facility in Designer that will do it for you. If you open the Form Properties under the File menu then click the Defaults tab, you will see a section called Scripting. In that section make sure that the "Preserve Scripting changes to for when saved" radio button is set to Automatically.
    Paul

  • Content profile Checkin  by cis (content integration suite)

    Good Day ,
    Iam using content integration suite for Oracle ucm my problem is :
    i create a new document profile by ucm interface and i want to checkin contents (using cis from java code) to these custome fields in the created profile, so is there
    any way to do that through cis by java code because there is mandetory fileds in another profiles ,that must be entered using (active.document.checkin.checkinFile ) because that i need content profile Checkin.
    best regards
    Wa'el Abu Rahmeh
    Edited by: Wa'el Abu Rahmeh on Oct 18, 2009 3:50 AM

    Are you able to checkin content with that profile in UCM interface? I think the mandatory metadata fields still needs to get filled even though you try to hide them through your profile. They might appear hidden but you will not be able to checkin the document, so you have to default it to predefined values.
    Alternative is to tap the event "validate standard" in a custom component filter and then do necessary changes to the databinder. So is it CIS issue at all?
    These are my thoughts.
    Regards,
    Ansuman Roy

  • Pre-selected Content Profile Checkin

    Hello,
      I was reading this post:
    Using Content Server Profiles in WebCenter
    I'm in a similar situation configuring my space. I find impossible to pre-select a content profile from Upload button, and in the linked post they talked of some component that could work. Is any updates about it? I couldn't answer there, the post is closed.
    Thank you in advance.

    Are you able to checkin content with that profile in UCM interface? I think the mandatory metadata fields still needs to get filled even though you try to hide them through your profile. They might appear hidden but you will not be able to checkin the document, so you have to default it to predefined values.
    Alternative is to tap the event "validate standard" in a custom component filter and then do necessary changes to the databinder. So is it CIS issue at all?
    These are my thoughts.
    Regards,
    Ansuman Roy

  • Problem after hide the "Alternate File" field

    Hi all,
    Before I hide the "Alternate File" field in check-in form. I created a content item with a customize Content Type
    and then viewed it's content information. At the Web Location property like that:
           Web Location:      http://tuyennt-laptop:16200/cs/groups/vietinbankhanoi/documents/anh/mtyy/mdaw/~edisp/19216855106162000053.gifAfter I hide the "Alternate File" field follow Idoc script:
         <$AllowAlternateMetaFile="true"$>
         <$createAlternateMetaFile="1"$>
         <$alternateFile:rowStyle="display:none"$>Then create other content with the same Content Type and I saw that at the Web Location property :
           Web Location: http://tuyennt-laptop:16200/cs/groups/vietinbankhanoi/documents/anh/mtyy/mdaw/~edisp/19216855106162000054~1.htmWhen I click on this link, it return error : Error 404--Not Found
    But it will return for me a page include a table of information about Content Metadata for this content, If it was created with standard Content Type as: Document.
    And have a error in this table at the Folder field:
                   Folder  358128818381000010 - Invalid folder reference!Although the Folder have ID: 358128818381000010 exist
    I don't know why?
    Do you have any suggestion for me???
    Thanks in advance!
    Edited by: AS84 on Jun 26, 2012 1:51 AM
    Edited by: AS84 on Jun 26, 2012 2:13 AM

    Hi jiri.machotka,
    My problem I got happen when I click on the link in the Web Location field example like that:
             Web Location:      http://tuyennt-laptop:16200/cs/groups/tintuc/documents/anh/mtyy/mdaw/~edisp/19216855106162000061.htmwhich was show on in the Content information page of Content item.
    After I click, UCM return a page where show some Content Metadata information and "Folder" is one of them.
    And the error I get here like that:
              *Content Metadata*
    Revision:      1
    Type:      Document
    Title:      Test 02
    Author:      btvhn
    Security Group:      TinTuc
    Account:      
    Comments:      
    User Access List:      
    Group Access List:      
    Profile:      
    +Folder:      588183722538000204 - Invalid folder reference!+
    mNguonTin:      
    Application Identifier:      
    Batch Identifier:      
    Batch Sequence:      
    mAnhMoTa: I have just saw again my configure for all my customize Security Group and I get out the reason why.
    All my Security Group I created not have permission (R) on guest role. When I set this permission for all my Security Group and this problem seem to be resolve.
    I really don't understand why. If you have knowledge base about it can you explain for me and any person maybe get the same problem?
    Anyhow, my problem was resolved
    Thanks for all of your suggestion
    Edited by: AS84 on Jun 26, 2012 8:59 AM
    Edited by: AS84 on Jun 26, 2012 8:59 AM

Maybe you are looking for

  • How can I get help canceling my subscription?

    Is there anyway I can talk to a "Live" person from Adobe?  I accidentally double charge myself in purchasing a PDF to Word Perfect software.  If there is an 'English' speaking person from Adobe who can help me, please email me at [private information

  • How can I specify table owners when I export project to Java source?

    Using TopLink Mapping Workbench, when I export project to Java source, the descriptors is automatically generated like: descriptor.addTableName("SOME_TABLE"); Is there a way to configure the TopLink Mapping Workbench so it generates the descriptors s

  • Is it possible for my Macbook to upgrade to Yosemite?

    So, I have a white Macbook Mid 2010 model and it is still running Snow Leopard 10.6.3. I was wondering on updating to 10.6.8 and then upgrading to OS X Yosemite. The Mac has 2GB of DDR3 RAM and a 2.4 GHz Intel Core 2 Duo Processor. Is it going to be

  • Use CustomFunctionController to add Repository Custom Function to a reportclientdocument

    <p class="ssiBODYCOPY">I would love to know how to add a Repository Custom Function to a reportclientdocument - If this is possible?<br />I need to know how to instantiate an object of type Custom Function from the enterprise repository or get a list

  • /410 Ann Reg Inc getting wrong

    Dear Mates, Getting annual salary /410 is wrong in RT table: 1 Employee has been hired on 01.04.2014 2 Running payroll for him 01.04.2014 but at time of calculating annual salary /410 in RT table system is cumulating like 01.04.2014 to 28.02.2015. I'