Unable to clear Keywords metadata value

Hello, I'm trying to clear the keywords metadata field using the following code but it doesn't work as expected. No errors just doesn't clear the Keywords field.
var xml = new XML(doc.metadata);
var nsrdf = new Namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
var nspdf = new Namespace("http://ns.adobe.com/pdf/1.3/");
delete xml.nsrdf::RDF.nsrdf::Description.@nspdf::Keywords;
doc.info.Keywords = "";
doc.metadata = xml.toXMLString();
If I call just doc.info.Keywords = "" it appends a blank keywords to the front of the existing keywords.
How do I clear Keywords?

Hello,
I'm with the same problem. Could you explain what can I do to solve this?
Thanks

Similar Messages

  • Unable to clear file upload fields in web pages.

    When visiting any site which has the option to upload a file, I am unable to clear the field if I change my mind about uploading a file.
    A website has a BROWSE or UPLOAD field and button. Pressing the button brings up the open file dialog. I select a file and select open in the dialog. If I then click on the field containing the path/file, I am presented with the open file dialog. I cannot clear or edit the field on the web page.
    I originally thought it was something with the web page I visited, but then found another page did the same thing.

    For instance if you go to this page again in Safari,
    http://www.apple.com/quicktime/qtv/mwsf06/
    and then select "View Source" from the View menu, then press command-f to "find" within the page and search for ".mov"
    You will find this, which shows the url of the movie itself.
    <param name="href" value="http://stream.qtv.apple.com/events/jan/mw2006/mmw_2006_650ref.mov">
    If you copy just this part:
    http://stream.qtv.apple.com/events/jan/mw2006/mmw_2006_650ref.mov
    And open QuickTime Player, go to the File menu, select "Open URL" the movie will play.
    If you try the same technique on the page at the link provided by your client, it will allow you to bypass the html code that may be doing an outdated compatibility check and the movie may play. Or it may tell you that you are missing components (codecs, compressors etc.) in which case, post here again.

  • Unable to read report metadata

    I have a report from SSRS2008R2 in user in PP2007 which works there properly.
    When I try to use it in PP2010 I get "Unable to read report metadata" every time I try to change the default value of the parameters.
    In PP2007 it all works properly.
    thanks

    After analysing network traffic, I found that Report server returns an error to dashboard designer because a parameter is set as "read only".
    This means that there is a parameter that has been set to internal in the report.
    The important thing is :
    Note: Publishing a report over an existing report on the report server does not overwrite the parameter information.
    To update parameters for an existing report, either delete the report on the report server and republish, or update the parameter information for the report in Report Manager.
    To modify the parameters information, open the report server. Go to your report, and select Manage, then Parameters ( on the left panel).
    Internal parameters appears with unselected textbox for Hide and Prompt. Select Hide and then Apply.
    Go back to Dashboard designer, you can now update the parameter values.
    Regard,
    Franck

  • How to add keyword metadata to elements after upload

    Hello,
    I am adding fcp projects with all its linked media to our server...There can be hundreds of elements attached to the project file, is there a way to change the keyword metadata for a whole element group within a project? It seems that I can only add keywords one at a time which would end up being literally thousands of entries.
    anybody encounter this??
    thanks
    dan

    There is a way to batch add metadata, but it isn't iTunes-easy and you need to be have admin rights on your FCSvr to do it. Also, this is a manual process after each set of assets exist. Anything more automatic would require custom scripting.
    You can use the Search Expired response to batch other responses. Create a new Search Expired response and set it to use the Custom 1 event type. Set the Timestamp Field to "Creation Date". Leave the Expiry Days empty. Below that you can filter based on the usual options or leave them all open to hit all your assets (up to you).
    Next, create a Set Asset Metadata response and populate it with the value you want to apply to your assets. Set this response to run by Subscription based on the Custom 1 event type.
    Finally, schedule your Search Expired response to run. When it does, it will fire what amounts to a dummy event (Custom 1) on the filter it was set for, triggering the Subscription you set up to listen for that event type. That fires the Set Asset Metadata response, and now all your assets are tagged with the desired default in the new field.
    The Custom event types are there for tethering a Search Expired response to a Subscription, so unless you know what you are doing, avoid the other event types on a Search Expired response.
    The official documentation does not really explain this very well, but it does indeed work. Once you get the desired result, you can disable the schedule for the Search Expired response.

  • User metadata values is showing as plain text in Mysites after upgrading from 2010 to 2013

    We have upgraded our Mysite from 2010 to 2013, after upgrading User metadata values is showing as plain text where
    as in 2010 it has shown as hyperlinks.
    In Mysite 2010 by clicking on user metadata for favorite sports, Favorite Movies etc...it will give the results from search containing same value for other user
    by going to search results page. After upgrading it to 2013 (with 2010 UI) and running full crawls, I am able to search by clicking on any user property.
    After upgrading look and feel to 2013 version  these fields showing as plain text. Can anyone suggest how can we get hyperlinks and how can we make user
    metadata searchable directly by clicking on Property value from Mysite. Below screen print explain you the difference clearly.
    Santosh

    Hi Inderjeet, thanks for the update.
    I am running with SP1 + july2014 CU.
    Search is working fine, I am able to get search results from search page, here the problem is I cannot go to search results by directly clicking on a property.
    In SP 2010, If I click on favourite sports team, (Chelsea football) it will open search results page with all users who have given this team name.
    Where as in SP 2013, this data is appearing as plain text in mysites(Please note before UI upgrade, I am able to search as in SP 2010). You can notice the difference in my above screenshot.
    Is this default behaviour in SP 2013? Has anything changed or am I missing something.
    Santosh

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • Unable to clear Vendor f-44

    Hi All,
    Unable to clear vendor F-44, after selecting item and when simulating getting error as Posting is only possible with a zero balance; correct document.
    The posted documents are old fiscal year document and the Clearing date is current date.
    with regards,
    Moderator: Please, avoid asking basic qeustions

    Hi,
    Just check whether the Debit amount and Credit amounts are tallying or not.
    Debit should be equal to Credit
    Just check once again
    Thanks
    Edited by: nkonnipati on Feb 27, 2012 3:47 PM

  • Unable to clear vendor open item.

    Hi experts,
    Have posted vendor document  under document type KZ directly, there is no open item invoice to clear the document.
    posted entry as below. now we are unable to clear the open item document through F-44. we did not find open item for the posted document which is posted in document type KZ.
    Vendor account entry
    25 vendor account 10000
    38 vendor account  8000
    50 bank account     2000
    document has been cleared only 8000 not 2000.  Please advice me how  to clear the KZ document.
    Regards,
    Anji Reddy.

    HI Anji Reddy,
    There is some Process to do Clearing function
    first of all Open item should be there in Vendor account with the Invoice.
    For that invoice there should be a payment which is full payment or else Partial Pament.
    Then you can do clearing function to clear the Open items.
    Through F-51 you can do both Payment and clearing which is Post with clearing
    if you have done payment throgh any other Tcodes you have to come F-44 and do mannual Clearing.
    Try to explain your senario more Clear so that your doubt can solve
    Regards
    Mahesh

  • Unable to clear open items for Bank GL

    Hi Experts,
    I have scenario where I am unable to clear bank clearing account through F-03.
    The Bank Clearing GL account master is NOT managed as "Balances in Local Currency only'
    Current issue is:
    Invoice is posted with USD currency
    Ex: $100 (1st April 2013, Exchange rate @ INR 50)
    The payment is posted in INR 4900 (1st December 2013, Exchange rate @ INR 49) .
    Here the balances in USD are clear with $100, but with difference in local currency which is posted as Forex gain.
    But while clearing the GL through F-03, the error is popping up ... "difference too large for clearing".
    Please help me how we can clear the balances of this GL (Which has two different currencies posted before clearing)
    Thank you.
    Best regards,
    Sri

    Hi,
    The message comes because of different document currency in Invoice and payment.
    In payment, your document currency is INR, so the system will calculate to LC1, LC2, LC3, cannot calculate back to your invoice currency, so even EUR amount is the same but the INR amount is still different.
                   Document currency     Ex Rate     Local Currency          Clearing currency
    Invoice          100EUR                   50               5,000INR                    5,000INR
    Payment      4,900INR                    1               4,900INR                    4,900INR
    If clearing currency is INR, even EUR amount is the same but you still have different in INR amount
    In my example, in F-03, when you choose the clearing currency is USD, and choose the open item list
                   Document currency     Ex Rate     Local Currency          Clearing currency
    Invoice         8,000EUR                                  10,000USD               10,992.40USD
    Payment    10,000USD                  1              10,000USD               10,000.00USD
    Screenshot in Local currency:
    Sceenshot in clearing currency: (different amount is 992.40)
    In this case, the system will created automaticall line item to Exchange gain/loss for different amount.
    You have to add one more line to offset this different amount.
    Example in my case, because of the different amount 992.40- is debit to Exchange loss by system.
    So now, I will add more line to credit  that amount again line below
    Julie

  • Unable to clear out the stock in SAP

    Hi Expert!
    Need your help. I have an issue, my user wants to clear out the stock in SAP because they are the old stock and there's no stock in actual warehouse for those materials actually. it is just in the system taht showing those materials have stock in warehouse. but however, she's unable to clear out the stock. So when i check in the system, the materials are batch managed and still have open POs dated on 2003 which has already old.  Is it the reason why she can't clear the stock? Do i need to ask her to off the batch management for those materials,then delete the POs and then only she able to clear the stock? Please advise on the solution..
    Thanks.

    hi
    do the physical inventory and adhust stock
    1) Create physical inventory doc using MI01
    2) Post the Physical Inventory stock Using MI04 ( Mark Tick if the stock is Zero)
    3) Post the doc in Using MI07
    Note : Give the batch no if the material is activated the batch

  • Unable to clear Google search history in Safari

    I am unable to clear old searches in Safari.  None of the following has any effect: using the clear recent searches button, totally resetting Safari, deleting all history and cache and trying to delete each individual search item manually, or by changing default search method.  These are old items, not recent searches, but they continue to show up in the recent search area.  It appears to be a bug.  Any ideas how to REALLY clear out the search cache?
    THANKS

    Seem to have finally fixed it by deleting the safari plist entry.

  • Unable to clear customer line items for a particular company code

    Hello,
    For a certain company code, even though open items are present for some customers, i am unable to clear them using F-28 or F-32.I am getting the message 'No open item exists', Anyone come across this scenario before?

    Hi:
             Make sure you are giving proper selection criteria for the processing open item. May be the items are Special GL based transaction so you need to select special GL indicator to process open item. Please also refer to OSS Note 136754 - F-03, F-32, F-44, F-28 missing open items. Hope this will help you.
    Regards

  • Unable to clear the invoice/credit in SAP via T-Code F-04

    Hello Guys,
    Unable to clear the invoice/credit in SAP via  T-Code F-04.
    While I proceed to Clear the cutomer open item i am getting below error.
    " The Entry GB XX Is Missing in Table T059Q".
    Kindly suggest what needs to be done to overcome with this message.
    Thanks and regards,
    Hemanth.

    Hi Hemanth,,
    Hope you are using Classic WHT for your company code in country GB.
    And the Classic WHT tcode XX was maintained in customer master data, but the same code would have been deleted from the system. Since these line items to be cleared also, stored that tax code only. So you are getting this erro in F-04.
    So you need to create the above said tax code in OBA7 and then you will be able to clear the customer line items with F-04.
    Regards,
    Srinu

  • Unable to clear vendor with different currency being posted

    Dear Experts,
    One of our vendor's Invoice billed in currency USD, several payments has been posted with different currency according to our Bank currencies. Full payment has been made to the balance of ZERO, but we still unable to clear this vendor account. Any expert can help me how to clear the above mentioned vendor.
    Regards/Lisa

    Hi,
    Please check whether the customisation for exchange difference accounting has been done.  If so then
    T Code is F-44 or F-04
    Either use Local Currency. : In this case if there is any exchange rate difference between the invoice and payment date the difference will be posted to exchange diff account.
    Or Use the Doc Currency : In this case you can provide the exchange rate in the transaction so that you will not get any exchange rate difference.
    Hope this solves your issue.
    Regards
    MPI

  • Unable to clear a GR document via f.13

    Hi,
    My user is unable to clear a GR document via F.13 since the IR document had been clear with other document.
    It was noted that GR document do not have a matching document.
    User try to clear the GR document manually via F-03 by manual entering the clearing to offset but this leaves the clearing document as open.
    Please advise.

    Hi,
    Above credit entry in GR/IR account is at the time of GRN, and 2nd debit entry in GR/IR  account will be at the time of Invoice. see below entry.
    Debit GR/IR  690
         Cr. A/P(vendor) 690
    Therefore in GR/IR account is open item manage account, and you can see the debit 690 and credit 690, in GR/IR account, and this you have to clear in F.13 please check and confirm.
    You can also view the PO history in ME23N, to verify that the invoice is posted or not, and if invoice is posted, then click on invoice doc, then go on followup FI document, which will show you what account has been debit.(this should be GR/IR with 690).
    Your vendor invoice will be cleared once you it pay it through F110/F-53/F-58.
    Regards
    Javed

Maybe you are looking for