Will Categories work when a folder's versioning is enabled..

Hi,
I have a defined to category attribute with the help of TestCategories class of Content DB dev kit. I am able to upload a document without any problem and retrieve the category details, when versioning on the folder is disabled. But, when the versioning is enabled, I am getting the following error :
Create a Document using saved definition item ...
FdkException:
Error Code: ORACLE.FDK.AggregateError
Detailed Error Code: ORACLE.FDK.AggregateError
Trace Id:
info (NamedValue[]): null
FdkExceptionEntry:
Id: 86579
Error Code: ORACLE.FDK.UnexpectedError
Detailed Error Code: ORACLE.FDK.ServerError
Trace Id: 24-1164736133765
info (NamedValue[]):
null
I thought, using "Attributes.CATEGORY_COPY_ON_VERSION" should solve my problem. But, when I tried to use Attributes.CATEGORY_COPY_ON_VERSION for the CATEGORY_CLASS_ATTRIBUTES, I got the following error:
FdkException:
Error Code: ORACLE.FDK.ParameterError
Detailed Error Code: ORACLE.FDK.InvalidAttribute
Trace Id:
info (NamedValue[]):
ORACLE.FDK.INFO.Attribute=CATEGORY_COPY_ON_VERSION (String)
ORACLE.FDK.INFO.AttributeDetail=CATEGORY_COPY_ON_VERSION (String)
I have NO IDEA about why the cateogory attributes or not working when versioning is enabled.
Manually, using OCS UI :
When I try to upload a document for the first time, I have been prompted to enter values for the cateogry attributes. With versioning, I have not been prompted to enter the attributes when I tried to upload the document one more time. OCS simply versioned the document...
Any help in resolving this issue would be greatly appreciated ...
Btw., My OCS version is 10.1.2
Thanks in Advance,
Esh.

Hi
My mistake. i thought you were using Content Services API.
If you are using content DB, there is no need of explicit check out and check in.
you can directly create document/ update docuent with category Information with single go only.
refer : Re: Updating a document with category metadata using updateDocument(): erro
Sample code
NamedValue[] categoryDefs = WSF.newNamedValueArray(new Object[][]
Options.CATEGORY_ID,
new Long(categoryClass.getId())
Options.CATEGORY_DEFINITION_ATTRIBUTES,
// New Named value pair of category attributes
WSF.newNamedValueArray(attribname, aAttributeValue)
FileManager filemanager = session.getFileManager();
// Update(add new value) the document with the new attribute value.
filemanager.updateDocument(document.getId(),
WsUtil.newNamedValueArray(new Object[][] {
{Options.CATEGORY_DEFINITION, categoryDefs }}),
null);
Hope this will work. Your error seems to be beacause of wrong attribute value passed to the CategoryDefinition. Can you please paste the code, so that we can debug.
Thanks!
Veeraswami K

Similar Messages

  • I just installed Photoshop CC 2014, but Latest version of Bridge will not work when I want to open it from PS

    Any idea why is Bridge latest version not working when trying to open it in Photoshop CC 2014 ? (French version) ? When trying, Creative Cloud app will open to ask if I want to download newest version, which I did numerous times now.
    Thank you
    Guy Deschenes
    Shawinigan (QC) Canada

    Hi Eric,
    Here's how a similar problem was resolved between PS and BR.
    The issue was confirmed by ChunXiaYang at Adobe staff and solution put in the forum discussion on June 19 (no. 13). Here's a copy:
    I have confirmed that this is a known issue before release. And the workaround is to uninstall and reinstall PS 2014. Then Bridge can be launched by selecting 'Browse in Bridge' in PS2014.
    Please try the installation, and let me know whether it works. Thanks!
    It woks just fine since I unistalled and reinstalled PS 2014.
    Guy
    Le 2014-07-17 à 1:13 PM, ericboerner a écrit :
    I just installed Photoshop CC 2014, but Latest version of Bridge will not work when I want to open it from PS
    created by ericboerner in Bridge General Discussion - View the full discussion
    I did this with a fresh install of the entire CC package. As soon as the CC packages updated, CC Bridge broke. Unistalled CC PS, reinstalled again, CC Bridge works, but CC PS updates itself again, and breaks CC Bridge.
    You know... The whole move to CC has been a massive cluster... I've struggled with the CC packages for my entire subscription year, and now I'm 1.5 month away from needing to throw down another $720 for no reason what-so-ever, just so we can Beta test your really screwed up subscription services.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6559164#6559164
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Bridge General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • TS4036 I have moved from one company to another and they both use iphones I backed my phone up before it was shut down I tried to retrieve contacts from my PC it did not work will it work when I get my new iphone?

    I have moved from one company to another and they both use iphones I backed my phone up before it was shut down I tried to retrieve contacts from my PC it did not work will it work when I get my new iphone?

    I updated my iPhone onto my friend's MacBook
    Why would you do that, and not on your own computer?  See the hassle it caused you?
    can he just email me the folder
    Backup files are too big to email.  Use FTP, DropBox, etc...
    how do I then put all that data back into my current phone from the new computer?
    How to restore iPhone:  http://lmgtfy.com/?q=how+to+restore+iphone

  • The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using. Now, no reactions. What should I do?

    The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using (ex. ITunes or Safari to main screen) . Now, no reactions. When I press the button, it appears to be more indented then it was before. What should I do? Do I need to get it fixed or replaced, or is this a problem I can fix on my own? Whatever it is, I really need some advice. Thanks in advance.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • My Ipod touch will only work when plugged into a itouch radio.  When I take it out, it goes blank.  Why can I do?

    My Ipod touch will only work when plugged into an Itouch radio.  When I take it out of the charger, it goes blank.  The battery shows fully charged.  It appears that the battery is no longer charging.  What should I do?

    Try a reset: Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost. If that fails, the battery may have gone kaput.

  • No matter how many times I reet my password, it will not work when trying to sign intothe App Store through my iPhone4S.

    No matter how many times I reset my password, it will not work when trying to sign intothe App Store through my iPhone4S.

    What is the error that you are seeing? Try to login using another App like GameCenter or iMessage? Also try logging in to other Apps like Facebook to check if it is your Internet connection problem.

  • I downloaded the S5 upgrade a week ago. Now, may notification LED will not work when phone is in 'mute' mode. It always did before. How do I fix this?

    I downloaded the S5 upgrade a week ago. Now, may notification LED will not work when phone is in 'mute' mode. It always did before. How do I fix this?

    same thing happened to my S5.  We're beyond frustrated.

  • TS1630 My iphone4 speakers will only work when I receive a call or factime, but for nothing else. Why?

    My Speakers on my iphone4 will only work when I receive a call or facetime, and are muffled when an alarm goes off. Other than that, I have absolutely no sound from anything- text, music, videos, games, etc. UNLESS I use headphone. My phone will vibrate with text messages, though. When I try to turn up the volume on the side, it doesn't register any bars- the space for the volume boxes is blank. Also, there is no volume bar in my music when I try to turn up the volume. I have tried restarting my phone numerous times, I have also checked and rechecked the switch on the side to no avail. Does anyone have any troubleshooting ideas or know what might cause this?

    I tried this and noticed a little green inside the charging port. I panicked thinking it was corrupt, but found out if you lighting moisten the toothbrush with alcohol and gently scrub (with the power off) you can remove the green. I started inspecting one of our charging adapters, which had been giving us trouble, and it was very green inside. Not sure if it can transfer from one to the other?
    BUT now I have sound! Thanks for your suggestion, it helped!

  • Cannot type the letter "t" when phone is in portrait orientation. will only work when phone is in landscape.

    cannot type the letter "t" when phone is in portrait orientation. will only work when phone is in landscape.This causes some problems as some apps do not change orientation so when the "t" is needed to be entered it cannot be carried out

    Try the basic troublshooting steps described in the User Guide, Appendix B:  Resart, Reset, Restore using backup, Restore as new.

  • My iPhone 4 is 3 years old, and recently the Flash will only work WHEN it wants to... Anyone got any ideas what I need to do?

    My iPhone 4 is 3 years old, and recently the Flash will only work WHEN it wants to... Anyone got any ideas what I need to do? Does it need to be repaird in an Apple store? if so does anyone know roughly how much it would be? Or would a simple Restore work?
    Thank you in advance for replies

    Take it to an Apple store. Most likely you will have to get a replacement for which you will be charged the replacement fee.
    Rice only absorbs water. But it cannot prevent damage to the device.

  • My Imessage will only work when I have WiFi... right when I leave my house it stops working?

    My Imessage will only work when I have WiFi.. right when I leave my house my Imessage stops working? HELP

    Since this is an app-related issue, you may get better results solving your problem by contacting the app developer, or searching their help/FAQ pages.

  • HT1355 i need to know why my facetime will only work when im connected to wifi.

    i need to know why facetime will only work when connected to wifi.

    Facetime in cellular will only work on the iPhone 4S and iPhone 5, and only if the carrier supports it.

  • Googlemaps will not work since I downloaded latest version of Firefox. Any suggestions? I've followed all of the troubleshooting suggestions at Googlemaps already and no luck. Thanks.

    Googlemaps will not work since I downloaded latest version of Firefox. Any suggestions? I've followed all of the troubleshooting suggestions at Googlemaps already and no luck. Thanks.
    == URL of affected sites ==
    http://maps.google.com/

    From here it looks like you used Safari instead. Lots of choices that's what I like.
    You did end Firefox and try to restart didn't you?
    If you did then I would expect you have a problem with your Firewall, and would have had it before, does not affect IE, it does affect Firefox, I don't know about other browsers. See
    http://kb.mozillazine.org/Firewalls

  • How do I find out if my 'non apple' paid apps will stop working when I upgrade to iOS 5?

    I have downloaded apps from both apple and other developers.
    I have paid for some of these apps.
    Since there are numerous apps that I use, is there a generic way to know for sure on whether the apps will still work when I upgrade to iOS5?

    Unless the problem was caused by abuse or other accidental damage, Apple will exchange your in-warranty iPod with a refurbished one at no cost. Make an appointment at the Genius Bar of an Apple store for the exchange.

  • I inherited an 2003 ipod from my daughter. The controls will not work when it is plugged into a power source. Can anyone help?

    I inherited a 2003 ipod from my daughter. The controls will not work when it is plugged into a power source. Can anyone help?

    But they work normally when not plugged in?  What kind of power source are you plugging it into? It maybe outputting more than what the iPod can handle.  I had this happen to an iPod I plugged into a powerstrip that was plugged into the cigarette lighter in a vehicle an experienced the same thing.
    B-rock

Maybe you are looking for

  • How to: Call a Report (9i) from JDeveloper

    Hi, how can i call a Report from JDeveloper and how can i create a PDF File from an available report. I have created both, a jsp file and a rdf file. Thanks Achim

  • PAGE_NOT_FOUND in UWL

    Hi Experts, I am new to UWL. Currently, I have a View say - Submit Time-off (implement using web dynpro Java) . After the submission, it will route for the Approving officer to approve (as configure in the GP). This appear as a task  in the UWL of th

  • Certains films téléchargés sur mon ordinateur ne passent pas sur la TV, pourquoi?

    j'ai acheté plusieurs fims sur ITunes depuis un an environ. certains passent bien sur la TV avec AppleTV pour les autres il y a le message d'erreur suivant: "Une erreur s'est produite lors de la connexion au périphérique AirPlay « Apple TV ». Une err

  • Encoding and Decoding

    Hi, I have problem, I want to convert the data coming from the XML document in base64Binary format to byte[] format. could you please give me some pointers to achieve this ? Thanks & Regards, Guru

  • After effects using all of my ram

    Hello I'M Antoine I just replace my  computers ram with sixteen gigs but i still get an error warning to increase ram. I'm roto scoping a piece 3mins in length . also it constantly propagate a slow rate. Pleas Help.