Unable to update advanced metadata of document?

Hi All,
I have create portal application in Jdev 11.1.1.7.0  and integrated UCM. added document service taskflow(document manager).
I am able to see the  documents and upload/download are working. when I am open document and trying to update advanced metadata of document its show forbidden error in popup.
here is the  image error link.
http://dl.dropboxusercontent.com/u/78609236/metadata_edit.png
even i am not getting any error in log. can any one please give me resolution on this.
any help will be appreciated
Regards
Sankar

Hi Jiri,
I found the solution for this! by enabled OHS on environment,this working fine.
but I am facing other issue.its again asking for UCM login details for update metadata.(I thought I need to enable SSO .may be will not ask for login) please correct me if am wrong.
https://dl.dropboxusercontent.com/u/78609236/metadata.png
I am facing other issue while uploading document into UCM.actually I have create one profile in ucm with certain custom metadata fields.
when i am uploading I am selecting that profile so similarly its navigating to ucm page (login and its opening check0in form).
here requirement is.
1. by default I have provide one profile fixed when uploading?
2.i have upload multiple documents simply drag and drop.I don't want to goto ucm page and check in like that ect. so simple one I drag and drop when I click on upload i need to upload document as well as need to update custom metadata.
to achieve this requirement OTB taskflow is sufficient? or do need to customize the taskflow or only through RIDC.?
Please let me know the possibility and suggest me to do this.
Thanks in advance.
Regards
Siva   

Similar Messages

  • Error while updating Advanced metadata

    I 'm getting an issue while updating the advanced metadata option in the document manager task flow.
    The i-frame that is there in the error.png has the backend url as :localhost:8888/cs/idcplg/_p/min/skin-portal/lang-en/tz-UTC+0530?IdcService=GET_UPDATE_FORM&dID=1034&CoreContent=1&forceLogin=1.
    I guess the port number is the culprit.
    Is there any way by which we can redirect the request to port 16200 and enforce login for the user .The application is deployed on the spaces server.
    Edited by: user1175496 on Nov 5, 2012 11:28 PM

    Hi,
    In Webcenter Content connection, if you fill 'Web Server Context Root" field, webcenter thinks that Content and Portal (or Spaces) are in the exaclty the same adress, host and port.
    So you can add a apache that proxy portal and content in port 80 or you can just leave this field "Web Server Context Root" blank.
    This is are a production enviroment?
    You can take a look this post blog: http://yonaweb.be/enable_ucm_check_in_profiles_webcenter_ps3_0

  • Unable to update Logical Delete field in AS400

    hi all,
    We have an ESB process that polls for data in AS400 DB and transfers this data into an Oracle DB. This polling is based on Logical Delete. The data transferred is in the range of some lakhs of records. So we are sending around 5000 records per transaction in ESB. When we deploy the process, the data in AS400 is being read and getting transferred. However, the status field is not changing to 'Read Value'. Due to this, we are facing a lot of issues like, when we're in middle of data transfer and the opmn restarts, the data which has already been transferred is also being read and this is throwing an error because of primary constraint violation. Even after the data transfer, if we delete any rows in Oracle DB, the data transfer resumes as the status field is not updated.
    I have worked with logical delete in Oracle DB before and was working fine.
    Please help me with Logical Delete functionality in case of AS400 Database and also please let me know the privilages we need to have on the AS400 DB to successfully run this process.
    Thanks,
    Kamal.

    Hi,
    According to your post, my understanding is that you was unable to update managed metadata field in designer workflow.
    You need to provide the exact string for the MMS value, in the form of <id>;<value>.
    The format of the value you wanted to set is uncorrectly, so you cannot update the managed metadata field.
    If you want to set the managed metadata field value with correct format, you’d better to create custom action.
    There is an article for your reference, although it is about the SharePoint 2010, it is similar to SharePoint 2013.
    http://patrickboom.wordpress.com/2013/07/23/workflow-activity-set-managed-metadata-column/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to update managed metadata column for all file in document library using powershell

    Hi,
    How to update managed metadata column for all file in document library using powershell?
    Any help on it.
    Thanks & REgards
    Poomani Sankaran

    Hi TanPart,
    I have changed the code which you have give in order to get the files from SharePoint 2010 Foundation  Document Library.But i am getting below error in powershell.
    Property 'ListItemCollectionPosition' cannot be found on this object; make sure it exists and is settable.
    Could you tell me which is the issues in it?
    See the code below.
    $web = Get-SPWeb http://ntmoss2010:9090/Site
    $list = $web.Lists["DocLib"]
    $query = New-Object Microsoft.SharePoint.SPQuery
    $query.ViewAttributes = "Scope='Recursive'";
    $query.RowLimit = 2000
    $caml = '<Where><Contains><FieldRef Name="Title" /><Value Type="Text">Process Documents/Delivery</Value></Contains></Where>' +
            '<OrderBy Override="TRUE"><FieldRef Name="ID"/></OrderBy>'
    $query.Query = $caml
    do
        $listItems = $list.GetItems($query)
        $spQuery.ListItemCollectionPosition = $listItems.ListItemCollectionPosition
        foreach($item in $listItems)
            #Cast to SPListItem to avoid ambiguous overload error
            $spItem = [Microsoft.SharePoint.SPListItem]$item;
            Write-Host $spItem.Title       
    while ($spQuery.ListItemCollectionPosition -ne $null)
    Thanks & Regards
    Poomani Sankaran

  • DateFormat for updating the metadata field through RIDC

    Could you please tell me what will be the valid date time format for updating metadata field value through RIDC.?
    I am using ADF technology to connect with webcenter UCM and using all services to check-in,update, search generic screens using UCM services. I am able to update other text type metadata field through ADF screen BUT when i update date field then i am getting date parsing error..
    xSubmitDate DATE type in UCM.
    xSubmitDate value = 05/08/2013 05:36 PM
    oracle.stellent.ridc.protocol.ServiceException: Unable to update the content item information for '0804'. The field 'xSubmitDate' does not contain a valid date. Unable to parse date '05/08/2013 05:36 PM'.
    Thanks in Advance.

    This blog post I wrote may be of some help: http://www.redstonecontentsolutions.com/5/post/2011/10/parse-date-usingridc.html
    Jonathan
    http://jonathanhult.com

  • Problem with Pages.  I have recently been unable to open Pages, or any documents from Pages on my iMac.  Pages seems to be in the Cloud and can open a list of the documents in Pages, but can't open any of those documents.

    Recently unable to open Pages or any documents therein.  It seems to be stuck in the Cloud.  Although I can open a list of the documents I can not open any of the documents. 

    The answer is simple...  If you want to remedy this, then don't save them as PDFs.
    Word opens Word and text documents.  Not PDFs.
    Also note that this forum is for troubleshooting Apple Software Update for Windows, a software package for Windows designed to update Apple products that run on Windows, and not related to Microsoft Office or your question in any way. If you have issues or questions about Office, it's probably best you post Office related questions on Microsoft's own forums for their Mac products.
    http://www.officeformac.com/productforums

  • Unable to Update Database.

    Hi All,
    I was trying to load data thru load files and got the following message.
    Unable to update database while in readonly mode for backup
    Unexpected Essbase error 1013231I tried looking at Information Help Menu.
    I could not find the error number.
    Could anyone help.
    Thanks in advance.
    Bal.

    Hi Atul,
    Thanks for the help.
    The Readonly error got resolved.
    But still the following error is displayed when I am loading data thru load rule.
    To Brief you up, I had done a database corrupt check using validate command because of the following error. The information map asks you to do the same since the other parameters are in the affirmative ie sufficient disk space, not using addsin, File is present.
    *Unable to Read Information From [C:\Hyperion\essbase\app\SMC\PL\PL-BS-LD.rul]*
    Unexpected Essbase error 1019003
    I used the VALIDATE <error.txt> command and found that the database is not corrupt.
    I also used the export command to see if everything goes well. That also works well.
    Note: I do not have any data in the Cube. I had cleared all data.
    Can you please help ?
    Regards
    Bal.
    Edited by: user11091956 on Apr 12, 2010 11:26 PM

  • TS3694 I have a Ipod touch 4G, and i am unable to update or restore it.

    I have been unable to update or restore my Ipod touch to the 5.1, and 11.1 for my computer. each attempt to update has lead to the error report 3194. I'm not sure what it means or how to fix it. Please someone point me in the right direction to get this fixed.
         P.S. - Don't put me thru the Apple support run around.
                             THANK YOU

    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need ser

  • I am unable to update software or backup my devices. Apple techs unable to resolve the issue after hours of phone support over the course of several months.

    I am unable to update software, transfer purchases, sync, or backup any of my 3 devices. I have tried using iTunes on other computers, uninstalling iTunes with tech support walking me through, using a different user on my computer, deleting photos off of my devices, using an ethernet cable instead of connecting with wifi, uninstalling my antivirus software and firewall, and had my laptop examined by several techs who all determined there was nothing wrong with the laptop that explains what has been going on. I am also unable to view or download purchases on iTunes.  Clicking the Itunes store results in a blank white screen. I get various error messages, including -9886. Apple techs and now the engineers have been unable to resolve the issues thus far, even after several hours of phone support over the course of several months (about 5 hours this month alone). I have done everything they've suggested, even when they've suggested I do something over again, and I'm becoming frustrated. I would greatly appreciate any advice you can offer. Thank you in advance for your time.

    Hi there
    Sorry for hijacking your thread as put by Dahveed. However I have resolved my issue so I thought I'll share it with the rest of you.
    I checked for the error 3194 in youtube and I found some good videos that tell you how to resolve the problem. The issue I was facing was the actually (I know because I have resolved it now) the communication between my computer and apple server which can be fixed as following (if you are using windows):
    There is file in following directory:
    C:\Windows/system32/drivers/etc/hosts
    The file normally has no extension and it is in file format. You need to open it and make sure that every line that has apple server id starts with "#". In my case one of the line started directly with the ip address and then gs.apple.com.
    Perform your restore/update after that and hopefully it should be resolved (mine did).
    Cheers

  • I am unable to update, uninstall, or reinstall iTunes on my laptop.  Windows 7 Ultimate 32 bits.  Error code is 2330.  Can somebody please help me?

    I am unable to update, uninstall, or reinstall iTunes on my laptop.  Everything was working fine until recently when there was an update available for iTunes, and when I tried to update this, I got the message, "The installer has encountered an unexpected error installing this package.  This may indicate a problem with this package. Error code is 2330."  Can somebody please help me?
    System configuration:
    Windows 7 Ultimate 32 bits.
    Version:  6.1.7601 Service Pack 1 Build 7601
    System Directory:  C:\Windows\system32
    RAM:  1.00 GB.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • After replacing the hard drive on my G4 Powerbook and reinstalling Tiger I am no longer able to synch between itunes and itunes, it seems that the software on the ipod is of later date than itunes and I am unable to update itunes to the state prior..

    After replacing the hard drive on my G4 Powerbook and reinstalling Tiger I am no longer able to synch between itunes and my ipod (Classic 160gb) it would seem that the software on the ipod is of later date than itunes and I am unable to update itunes to the state prior to the original harddrive's failure for Tiger OSX 10.4.11
    Any ideas on the subject would be most helpful
    Thanks in advance
    Dingoh

    The last security update released for Tiger users was the 2009-005 update. The latest version of QuickTime is 7.6.4. The last version of iTunes that can run on Tiger is 9.2.1, because 10.0 only supports Mac OS X Leopard and later.
    So, are you on version 9.2.1?
    Was it Tiger or Leopard you had on the drive before?
    iTunes 9.2.1 download...
    http://support.apple.com/kb/DL1056

  • I am unable to update/restore my iPhone on my MacBook after attempting to downgrade iTunes 10 to iTunes 9.2

    I am unable to update/restore my iPhone on my MacBook after attempting to downgrade iTunes 10 to iTunes 9.2. I am currently running iTunes 10 on my MacBook right now because it was my only option to get iTunes back on my MacBook. Everything is fine with syncing my device but the only problem I keep encountering is the restoring and updating options. When I restore my device it tells me that It could not be restored at this time. When I update it, iTunes tells me that it cannot complete the current build. I know for a fact I am missing some files that were deleted when I attempted the downgrade. Anybody know what files I am currently missing that is causing this?
    - Jonny Appleseed 

    acarstensen,   Help has arrived! Let's take a closer look to see what's going on. Does your device have any physical/liquid damage? Did this issue begin after a recent software update or app download?   EfrainM_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • HELP! Newbie: Unable to update fields

    Hello.
    I am teacher of a Java course and I am teaching Kodo JDO to my students. But
    I am unable to update my persistent fields to the DB. I have a persistent
    class Employee with two fields: name and wage. I have the following code:
    PersistenceManager pm = JDOFactory.getPersistenceManager();
    Transaction tran = pm.currentTransaction();
    fillDatabase(pm,tran);
    Employee john = getJohn(pm);
    tran.begin();
    System.out.println("Before update" + determineState(john));
    john.wage = 20000.;
    System.out.println("After update" + determineState(john));
    tran.commit();
    pm.close();
    Employee John never gets updated to the DB. The program has the following
    output:
    Before update. Persistent-Clean-NonTransactional
    After update. Persistent-Clean-NonTransactional
    That is, the field doesn't get dirty.
    I attach all the source code to this message. It's a very simple example.
    What am I doing wrong? How can I persist my updates to the DB?
    Please I'm desperate. I don't know how to do and I need this solution for
    tomorrow afternoon (I have class with my students then).
    Any help would be gretly appreciated.
    Thank you,
    Vicent Palas__
    begin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[+<!N;LL;`@``%P4```\``````````0`@`("!JP``
    M`$I$3T9A8W1O<GDN:F%V85!+!08``````@`"`'@```#S`@````!02P$"%@L4
    M````" !*"3LMI"6</1 "``!&! ``#P`````````!`" `@($`````:V]D;RYP
    M<F]P97)T:65S4$L!`A8+% ````@``@<[+8C8QR*'`@``G 8``!$`````````
    M`0`@`("!/0(``%1E<W1%;7!L;WEE92YJ879A4$L!`A8+% ````@`E0([+6-!
    MX#U3````;0````T``````````0`@`("!\P0``&5M<&QO>65E<RYJ9&]02P$"
    M%@L*``````#1"3LMVC!\3H$#``"!`P``#0```````````" `@(%Q!0``96UP
    @;&]Y965S+GII<%!+!08`````! `$`/(````="0``````
    `
    end

    Thank you very much, Abe.
    Of course, I always advocate the benefits of encapsulation with my students.
    In this example, I declared my fields as public only because I was trying
    with private fields and it wasn't working (I don't know why). So I try with
    public fields to see whether it would work.
    Anyway, I had encapsulated my fields and everything worked OK. I was in
    trouble (the class is only some hours away and some of my students are
    prospects of customers so my image is fundamental). You have get me out of
    trouble.
    Thank you for your help.
    Vicent Palas__
    "Abe White" <[email protected]> escribi__ en el mensaje
    news:an1rrf$bnk$[email protected]..
    john.wage = 20000.;JDO detects field updates by modifying the bytecode of the class accessing
    the field. When you use public fields, that means all classes thataccess
    the fields need to be run through the enhancer, even if some of thoseclasses
    are not persistent themselves (note: only persistent classes
    should have metadata -- the enhancer uses the presence of metadata to
    determine whether to make the class persistent or just modify persistent
    field access to other classes).
    Because it's a pain to track which non-persistent classes accesspersistent
    fields of persistent classes, we recommend that you keep your persistent
    fields private, or protected and only accessed by subclasses. Plus, as a
    teacher, I would think you'd be advocating the benefits of encapsulation
    anyway :)

  • Unable to update when executed, table gets lock Execution does not stop Execution even for an hour

    Following is my Query unable to update when Executed table gets lock Execution does not stop even for an hour.
    update Employees 
          set Status = 'Close'
          where statusid IN (select statusid 
                                             from MyView 
                                              where DownloadedDate ='2014-07-27 00:00:00.000'
    here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid 
    i tried in various ways but not able to solve, statusid  column have no index on,  i tried using cursor but it does not work.
    plz let me know how to solve this Issue, THANKS IN ADVANCE.

    Hello,
    You should better post your question to a more related Forum, like Transact-SQL or SQL Server Database Engine; this Forum is for samples & community Projects.
    Have you checked the execution plan if indexes are used?
    You could update the data in chunks, e.g. 10.000 rows per execution. For this you have to add a TOP clause and a filter to update only those, who are not updated yet.
    update TOP (10000) Employees
    set Status = 'Close'
    where statusid IN
    (select statusid
    from MyView
    where DownloadedDate ='2014-07-27 00:00:00.000')
    AND Status <> 'Close'
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to update, when executed table gets lock and Execution does not stop even for an hour.

    Following is my Query, which unables to update. When Executed, table gets lock and Execution does not stop even for an hour.
    update Employees 
          set Status = 'Close'
          where statusid IN (select statusid 
                                             from MyView 
                                              where DownloadedDate ='2014-07-27 00:00:00.000'
    here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid 
    i tried in various ways but not able to solve, statusid  column have no index on,  i tried using cursor but it does not work.
    plz let me know how to solve this Issue, Its very Important to get solve as all my further work depends on Updation
    , THANKS IN ADVANCE.

    See also your other thread with the same question:
    http://social.msdn.microsoft.com/Forums/en-US/80243625-fc3b-4ee1-bce1-4adcdbc16c14/unable-to-update-when-executed-table-gets-lock-execution-does-not-stop-execution-even-for-an-hour?forum=sqlserversamples
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for