Updating an attribute value in a custom Configuration Object

I created a custom configuration object, and have two attributes which should hold date values. One attribute will contain a null value and one attribute will contain a date value by default. Now, when i enter date values on an end user form and press continue, the user entered values have to be updated in these fields in the configuartion object. The attrib1 null value has to be updated with the corresponding value entered on the userform and the attibute2 ( which already has a default value) has to be overwritten with the date value selected(date selected with the date picker) on the enter user form.
I used checkout object, a script to get the value from the form and a checkin object to perform the above operation, but the value is not being updated in the configuration object. Any suggestions for the above problem would help me a lot!!

Have you tried accessing the object from a rule using 'getObject' (you might need to use 'getExtension' also).
Try gettting the object directly from a rule, and use a 'set' to set the object key. I am not sure, but you might need to 'dumpMap' to actually convert the object to a Map structure before you can modify it.
IC.

Similar Messages

  • Read attribute value of a master data object's master data object

    Hi Guys,
    I have a peculiar condition where I need to read attribute value of a master data object's master data.
    Requisition (ZREQUI) is linked to Candidacy (ZCDCY) by object called Recquisition.
    Candidacy  (ZCDCY) is linked to Candidacy Activity (0CDCY_ACT) by object called Candidacy.
    I want to populate attribute called due date in ZREQUI by reading lowest value of due date value of 0CDCY_ACT. There can be multiple hits.
    If I can get the code to do this, I would really appreciate it.

    Here is the outline of the code ,as per my understanding..chk if it can help u
    In start routine write a select statement to pick all the data from 0cdcy_act.
    select 0CDcY_ACT ZCDCY  DuE_DATE from /BiC/P0CDCY_ACT
    into table itab1
    for all entries in source_package
    where ZCDCY = source_package-ZCDCY.
    as you need the lowest due date, sort the iTAB1
    sort itab1 by due_date  ZCDCY.   (default is acending order)
    In the field routine of your due date
    Read table itab1tnto wa_itab1 where
    ZCDCy = source_fields -ZcDcY.
    now duedate = wa_itab1-duedate.

  • Where are attribute values when developing custom adapter?

    Hello,
    I am developing custom adapter for IDM 8. When the server wants to make reconciliation it calls method listObjects in my case and getUser. I wanted to ask if I am able to get values attributes of user which is passed to this method as parameter. Also how it is in general possible to get values of attributes in these methods. There is schemaMap which Maps names of resource attributes to IDM attributes (their names) but where do I get the values? Thank you very much for help.
    Martin
    PS: I have extended schema so not only AccountId which can be called by accountId = getIdentity(user). I need other atributes too.

    I have assigned work to implement custom adapter that can talk to our target applications? Can you please let me know the steps I need to follow to implement custom connector?
    Thanks
    Sudarsan

  • Update Attribute values of AR transaction.

    Hi All,
    We have a requirement to update the attribute of the AR transaction and have written the following code:
    DECLARE
       l_msg_count               NUMBER;
       l_msg_data                VARCHAR2 (2000);
       l_return_status           VARCHAR2 (10);
       v_batch_rec               ra_batches_all%ROWTYPE;
       v_header_rec              ra_customer_trx%ROWTYPE;
       v_errors                  arp_trx_validate.message_tbl_type;
       v_lines_tbl               ar_transaction_pub.line_tbl_type;
       v_tax_lines_tbl           ar_transaction_pub.line_tbl_type;
       v_freight_lines_tbl       ar_transaction_pub.line_tbl_type;
       v_salescredit_lines_tbl   ar_transaction_pub.salescredit_tbl_type;
       v_dist_tbl                ar_transaction_pub.dist_tbl_type;
       v_commitment_rec          arp_process_commitment.commitment_rec_type;
       v_date                    DATE;
       out_message               VARCHAR2 (4000);
       l_msg_index_out           INTEGER;
       cursor c_trx is
       select * from ra_customer_trx_all
       where customer_trx_id = 272499;--234915;
    BEGIN
       fnd_msg_pub.initialize;
       fnd_client_info.set_org_context ('328');
       fnd_global.apps_initialize (37850,50261,222, 0);
       v_date := SYSDATE - 30;--This must be a date in the open gl period
       for i in c_trx
       loop
        v_header_rec.interface_header_attribute8:= i.interface_header_attribute8;
        v_header_rec.interface_header_context:= i.interface_header_context;
        v_header_rec.default_ussgl_trx_code_context:= i.default_ussgl_trx_code_context;
        v_header_rec.interface_header_attribute10:= i.interface_header_attribute10;
        v_header_rec.interface_header_attribute11:= i.interface_header_attribute11;
        v_header_rec.interface_header_attribute12:= i.interface_header_attribute12;
        v_header_rec.interface_header_attribute13:= i.interface_header_attribute13;
        v_header_rec.interface_header_attribute14:= i.interface_header_attribute14;
        v_header_rec.interface_header_attribute15:= i.interface_header_attribute15;
        v_header_rec.interface_header_attribute9:= i.interface_header_attribute9;
        v_header_rec.default_ussgl_transaction_code:= i.default_ussgl_transaction_code;
        v_header_rec.recurred_from_trx_number:= i.recurred_from_trx_number;
        v_header_rec.attribute11:= i.attribute11;
        v_header_rec.attribute12:= i.attribute12;
        v_header_rec.attribute13:= i.attribute13;
        v_header_rec.attribute14:= i.attribute14;
        v_header_rec.attribute15:= i.attribute15;
        v_header_rec.interface_header_attribute1:= i.interface_header_attribute1;
        v_header_rec.interface_header_attribute2:= i.interface_header_attribute2;
        v_header_rec.interface_header_attribute3:= i.interface_header_attribute3;
        v_header_rec.interface_header_attribute4:= i.interface_header_attribute4;
        v_header_rec.interface_header_attribute5:= i.interface_header_attribute5;
        v_header_rec.interface_header_attribute6:= i.interface_header_attribute6;
        v_header_rec.attribute_category:= i.attribute_category;
        v_header_rec.attribute1:= i.attribute1;
        v_header_rec.attribute2:= 'NEW';
        v_header_rec.attribute3:= i.attribute3;
        v_header_rec.attribute4:= i.attribute4;
        v_header_rec.attribute5:= i.attribute5;
        v_header_rec.attribute6:= i.attribute6;
        v_header_rec.attribute7:= i.attribute7;
        v_header_rec.attribute8:= i.attribute8;
        v_header_rec.attribute9:= i.attribute9;
        v_header_rec.attribute10:= i.attribute10;
        v_header_rec.customer_trx_id:= i.customer_trx_id;
        v_header_rec.trx_number:= i.trx_number;
        v_header_rec.paying_site_use_id:= i.paying_site_use_id;
        v_header_rec.bill_to_customer_id:= i.bill_to_customer_id;
        v_header_rec.cust_trx_type_id:= i.cust_trx_type_id;
        v_header_rec.reversed_cash_receipt_id:= i.reversed_cash_receipt_id;
        v_header_rec.agreement_id:= i.agreement_id;
        v_header_rec.batch_id:= i.batch_id;
        v_header_rec.status_trx:= i.status_trx;
        v_header_rec.doc_sequence_id:= i.doc_sequence_id;
        v_header_rec.doc_sequence_value:= i.doc_sequence_value;
        v_header_rec.paying_customer_id:= i.paying_customer_id;
        v_header_rec.related_batch_source_id:= i.related_batch_source_id;
        v_header_rec.default_tax_exempt_flag:= i.default_tax_exempt_flag;
        v_header_rec.created_from:= i.created_from;
        v_header_rec.org_id:= i.org_id;
        v_header_rec.request_id:= i.request_id;
        v_header_rec.program_application_id:= i.program_application_id;
        v_header_rec.program_id:= i.program_id;
        v_header_rec.program_update_date:= i.program_update_date;
        v_header_rec.finance_charges:= i.finance_charges;
        v_header_rec.complete_flag:= i.complete_flag;
        v_header_rec.posting_control_id:= i.posting_control_id;
        v_header_rec.bill_to_address_id:= i.bill_to_address_id;
        v_header_rec.ra_post_loop_number:= i.ra_post_loop_number;
        v_header_rec.ship_to_address_id:= i.ship_to_address_id;
        v_header_rec.credit_method_for_rules:= i.credit_method_for_rules;
        v_header_rec.credit_method_for_installments:= i.credit_method_for_installments;
        v_header_rec.receipt_method_id:= i.receipt_method_id;
        v_header_rec.related_customer_trx_id:= i.related_customer_trx_id;
        v_header_rec.invoicing_rule_id:= i.invoicing_rule_id;
        v_header_rec.ship_via:= i.ship_via;
        v_header_rec.ship_date_actual:= i.ship_date_actual;
        v_header_rec.waybill_number:= i.waybill_number;
        v_header_rec.fob_point:= i.fob_point;
        v_header_rec.customer_bank_account_id:= i.customer_bank_account_id;
    --    v_header_rec.printing_option:= i.printing_option;
        v_header_rec.printing_count:= i.printing_count;
        v_header_rec.printing_pending:= i.printing_pending;
        v_header_rec.purchase_order:= i.purchase_order;
        v_header_rec.purchase_order_revision:= i.purchase_order_revision;
        v_header_rec.purchase_order_date:= i.purchase_order_date;
        v_header_rec.customer_reference:= i.customer_reference;
        v_header_rec.customer_reference_date:= i.customer_reference_date;
        v_header_rec.comments:= i.comments;
        v_header_rec.internal_notes:= i.internal_notes;
        v_header_rec.exchange_rate_type:= i.exchange_rate_type;
        v_header_rec.exchange_date:= i.exchange_date;
        v_header_rec.exchange_rate:= i.exchange_rate;
        v_header_rec.territory_id:= i.territory_id;
        v_header_rec.invoice_currency_code:= i.invoice_currency_code;
        v_header_rec.initial_customer_trx_id:= i.initial_customer_trx_id;
        v_header_rec.end_date_commitment:= i.end_date_commitment;
        v_header_rec.start_date_commitment:= i.start_date_commitment;
        v_header_rec.last_printed_sequence_num:= i.last_printed_sequence_num;
        v_header_rec.orig_system_batch_name:= i.orig_system_batch_name;
        v_header_rec.post_request_id:= i.post_request_id;
        v_header_rec.last_update_date:= i.last_update_date;
        v_header_rec.last_updated_by:= i.last_updated_by;
        v_header_rec.creation_date:= i.creation_date;
        v_header_rec.created_by:= i.created_by;
        v_header_rec.last_update_login:= i.last_update_login;
        v_header_rec.trx_date:= i.trx_date;
        v_header_rec.set_of_books_id:= i.set_of_books_id;
        v_header_rec.bill_to_contact_id:= i.bill_to_contact_id;
        v_header_rec.batch_source_id:= i.batch_source_id;
        v_header_rec.reason_code:= i.reason_code;
        v_header_rec.sold_to_customer_id:= i.sold_to_customer_id;
        v_header_rec.sold_to_contact_id:= i.sold_to_contact_id;
        v_header_rec.sold_to_site_use_id:= i.sold_to_site_use_id;
        v_header_rec.bill_to_site_use_id:= i.bill_to_site_use_id;
        v_header_rec.ship_to_customer_id:= i.ship_to_customer_id;
        v_header_rec.ship_to_contact_id:= i.ship_to_contact_id;
        v_header_rec.ship_to_site_use_id:= i.ship_to_site_use_id;
        v_header_rec.shipment_id:= i.shipment_id;
        v_header_rec.remit_to_address_id:= i.remit_to_address_id;
        v_header_rec.term_id:= i.term_id;
        v_header_rec.term_due_date:= i.term_due_date;
        v_header_rec.previous_customer_trx_id:= i.previous_customer_trx_id;
        v_header_rec.primary_salesrep_id:= i.primary_salesrep_id;
        v_header_rec.printing_original_date:= i.printing_original_date;
        v_header_rec.printing_last_printed:= i.printing_last_printed;
        v_header_rec.global_attribute1:= i.global_attribute1;
        v_header_rec.global_attribute2:= i.global_attribute2;
        v_header_rec.global_attribute3:= i.global_attribute3;
        v_header_rec.global_attribute4:= i.global_attribute4;
        v_header_rec.global_attribute5:= i.global_attribute5;
        v_header_rec.global_attribute6:= i.global_attribute6;
        v_header_rec.global_attribute7:= i.global_attribute7;
        v_header_rec.global_attribute8:= i.global_attribute8;
        v_header_rec.global_attribute9:= i.global_attribute9;
        v_header_rec.global_attribute10:= i.global_attribute10;
        v_header_rec.global_attribute11:= i.global_attribute11;
        v_header_rec.global_attribute12:= i.global_attribute12;
        v_header_rec.global_attribute13:= i.global_attribute13;
        v_header_rec.global_attribute14:= i.global_attribute14;
        v_header_rec.global_attribute15:= i.global_attribute15;
        v_header_rec.global_attribute16:= i.global_attribute16;
        v_header_rec.global_attribute17:= i.global_attribute17;
        v_header_rec.global_attribute18:= i.global_attribute18;
        v_header_rec.global_attribute19:= i.global_attribute19;
        v_header_rec.global_attribute20:= i.global_attribute20;
        v_header_rec.global_attribute_category:= i.global_attribute_category;
        v_header_rec.wh_update_date:= i.wh_update_date;
        v_header_rec.edi_processed_flag:= i.edi_processed_flag;
        v_header_rec.edi_processed_status:= i.edi_processed_status;
        v_header_rec.global_attribute21:= i.global_attribute21;
        v_header_rec.global_attribute22:= i.global_attribute22;
        v_header_rec.global_attribute23:= i.global_attribute23;
        v_header_rec.global_attribute24:= i.global_attribute24;
        v_header_rec.global_attribute25:= i.global_attribute25;
        v_header_rec.global_attribute26:= i.global_attribute26;
        v_header_rec.global_attribute27:= i.global_attribute27;
        v_header_rec.global_attribute28:= i.global_attribute28;
        v_header_rec.global_attribute29:= i.global_attribute29;
        v_header_rec.global_attribute30:= i.global_attribute30;
        v_header_rec.payment_server_order_num:= i.payment_server_order_num;
        v_header_rec.approval_code:= i.approval_code;
        v_header_rec.address_verification_code:= i.address_verification_code;
        v_header_rec.old_trx_number:= i.old_trx_number;
        v_header_rec.br_amount:= i.br_amount;
        v_header_rec.br_unpaid_flag:= i.br_unpaid_flag;
        v_header_rec.br_on_hold_flag:= i.br_on_hold_flag;
        v_header_rec.drawee_id:= i.drawee_id;
        v_header_rec.drawee_contact_id:= i.drawee_contact_id;
        v_header_rec.drawee_site_use_id:= i.drawee_site_use_id;
        v_header_rec.drawee_bank_account_id:= i.drawee_bank_account_id;
        v_header_rec.remittance_bank_account_id:= i.remittance_bank_account_id;
        v_header_rec.override_remit_account_flag:= i.override_remit_account_flag;
        v_header_rec.special_instructions:= i.special_instructions;
        v_header_rec.remittance_batch_id:= i.remittance_batch_id;
        v_header_rec.prepayment_flag:= i.prepayment_flag;
        v_header_rec.ct_reference:= i.ct_reference;
        v_header_rec.contract_id:= i.contract_id;
        v_header_rec.bill_template_id:= i.bill_template_id;
        v_header_rec.cc_error_flag:= i.cc_error_flag;
        v_header_rec.cc_error_code:= i.cc_error_code;
        v_header_rec.cc_error_text:= i.cc_error_text;
       dbms_output.put_line(v_header_rec.term_id);
       end loop;
       ar_transaction_pub.update_transaction
                             (p_api_name                   => 'AR_TRANSACTION_PUB',
                              p_api_version                => 1.0,
                              p_init_msg_list              => fnd_api.g_true,
                              p_commit                     => fnd_api.g_true,
                              p_validation_level           => fnd_api.g_valid_level_full,
                              p_batch_rec                  => v_batch_rec,
                              p_header_rec                 => v_header_rec,
                              p_receivable_gl_date         => v_date,
                              p_commitment_rec             => v_commitment_rec,
                              p_lines_tbl                  => v_lines_tbl,
                              p_tax_lines_tbl              => v_tax_lines_tbl,
                              p_freight_lines_tbl          => v_freight_lines_tbl,
                              p_salescredit_lines_tbl      => v_salescredit_lines_tbl,
                              p_dist_tbl                   => v_dist_tbl,
                              p_return_status              => l_return_status,
                              p_msg_count                  => l_msg_count,
                              p_msg_data                   => l_msg_data,
                              p_errors                     => v_errors,
                              p_recalc_tax_flag            => fnd_api.g_true,
                              p_rerun_autoacc_flag         => fnd_api.g_true,
                              p_backout_sc_flag            => fnd_api.g_true,
                              p_backout_dist_flag          => fnd_api.g_true
       IF (fnd_msg_pub.count_msg > 0)
       THEN
          FOR i IN 1 .. fnd_msg_pub.count_msg
          LOOP
             fnd_msg_pub.get (p_msg_index          => i,
                              p_encoded            => 'F',
                              p_data               => out_message,
                              p_msg_index_out      => l_msg_index_out
             DBMS_OUTPUT.put_line ('l_msg_data :' || out_message);
          END LOOP;
       END IF;
    END;However getting the below error:
    l_msg_data :Invalid payment terms id. (TERM_ID: &INVALID_VALUE)
    l_msg_data :Invalid Transaction Status &INVALID_VALUE .
    l_msg_data :Validation error(s) occurred. Rolling back and setting status to ERROR
    This was working fine sometimes back. Can anyone point the right direction. I am able to update the attribute value fron the front end.
    Thanks,
    Subhasish

    Hi All,
    Any thoughts on this ??
    Regards,
    Subhasish

  • Update attribute value in xml db in Oracle 10g

    I have a table with XML blob data
    The root element is invoice with an element billInfo and attribute type0
    I'm trying to update the attribute value using the following sql but it is not working.
    the sql goes to sucess but the value is not updated.
    Looking for a solution and I appreciate your help
    update sc.table_name
    set xml_cb= updateXML(xml_cb,'/invoice/billInfo/@type0','A')
    where id = 1 succeeded.
    select id,
    extractValue(xml_cb,'/invoice/billInfo/@type0') type_val
    from sc.table_name
    where id =1;
    ID TYPE_VAL
    1 K

    What database version are you using?
    could you show us the outcome of:
    SQL> select dbms_metadata.get_ddl('TABLE','TABLE_NAME','SC') from dual;
    and/or a
    SQL> describe SC.TABLE_NAME

  • Updating marketing attributes from BW

    Hi anyone!
    We're using the Analysis Process Designer in BW for updating marketing attributes in CRM. We face two problems:
    1. When updating an attribute with several values (have set the multiple value indicator in the transaction maintain attributes) BW only updates one attribute value. The second value overwrites the first one.
    2. When using currency as data type for the attribute value we get an error in BW when we start the process of updating the marketing attributes.
    Have any of you faced the same issue???
    Regards Camilla

    Hello,
    we have a scenerio where in we have to transfer data from BW to CRM (Campaign from BW to CRM) and presently we are on BI 7.0 and CRM 5.0.
    Please can any one of you provide how to guide or steps if Customization required in BW and CRM side.
    One of the method is using APD, but here also i am new..can any one have tried??
    Thanks in Advance..
    Regards
    Ankur

  • Help Needed in Input Value Help of Custom Set attribute

    Hi All,
    We have maintained value table for custom set type attribute. We generated UI configuration for this set type and brought it into the web UI. But, we did not get the value help on the UI.
    We are trying to get the value help by implementing the BADI crm_prdgenset_valuehelp. This BADI returns object of type cl_bsp_wd_valuehelp_f4descr.
    PFB the code that is showing up the Value help icon but it is not showing any values.
      DATA: lv_valuehelp_descriptor type ref to cl_bsp_wd_valuehelp_f4descr.
    *    lv_fname_prefix = 'STRUCT'.
       ls_map-context_attr = component.  "ZCSDR_PRD_CLS
       ls_map-f4_attr = 'KEY'.
       INSERT ls_map INTO TABLE lt_outmap.
       INSERT ls_map INTO TABLE lt_inmap.
       CONCATENATE 'ZCSDR_CLS' 'ZZ0010' INTO lv_help_id SEPARATED BY '-'.
       CREATE OBJECT lv_valuehelp_descriptor
         TYPE
           cl_bsp_wd_valuehelp_f4descr
         EXPORTING
           iv_help_id                  = lv_help_id
           iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
           iv_input_mapping            = lt_inmap
           iv_output_mapping           = lt_outmap
           iv_trigger_submit           = ABAP_TRUE.
       rv_valuehelp_descriptor = lv_valuehelp_descriptor.
    Any pointers on this is really helpful.
    Thanks,
    Udaya

    Hi Chand,
    Sorry for the late response. As far as i recollect, i guess we have enhanced the setter getter methods and written logic in the get-v method.
    Let me know if the issue is resolved.
    regards,uday

  • Can we update the Category attribute values of a file

    Can we update the Category attibute values of a file with out checkout the file?
    I have set the version configuration to folder and try to update the category attribute values of a file under that folder,
    It is asking to checkout the file before modifying the category attibute values.
    Is it required to checkout the file before modifying the category attribute values of that file?
    Is there any way to update the category attribute values without checkout the file?
    Please help on this

    One of the ways i can think of is using Batch Loader script for large number of files. Mention such files in Batch Loader script, and it will update category and all meta-data required in terms of next revision.
    In case number of files are less manual checkout and check-in will help.

  • Selcect/ update attribute value using xpath navigator/ linq to xml

    Hi Folks,
    below is my xml string and the highlighted bold attribute value needs to update. Since this element contains prefix im not able to select teh particular element. if i remove the prefixx im able to select but i need to keep prefix.
        <IOP:MtvnSvcReq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:IOP="mtvnCWExternInteropReq" xmlns:IOP1="mtvnExtInteropReqData" xmlns:PR1="mtvnPRInteropReqData">
                              <IOP:Svc>
                                                 <IOP1:PR1>
                                                       <PR1:PRExternSSOReqData>
    <PR1:UserId>abcd</PR1:UserId>
                                                       </PR1:PRExternSSOReqData>
                                                 </IOP1:PR1>
                                </IOP:Svc>
                        </IOP:MtvnSvcReq>
    Thanks 

    Hi Pulikk,
    Do you mean you want  to change the attribute value(abcd)? If so,
    Please try the following code, i tested on my side, it changed successfully.
    //Here is the variable with which you assign a new value
    string newValue = string.Empty;
    XDocument objDoc = XDocument.Load(@"yourdata.xml");
    XNamespace IOP = "mtvnCWExternInteropReq";
    XNamespace IOP1 = "mtvnExtInteropReqData";
    XNamespace PR1 = "mtvnPRInteropReqData";
    foreach (var node in objDoc.Descendants(PR1 + "UserId"))
    node.Value = newValue;
    objDoc.Save(@"yourdata.xml");
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The type '*', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element * could not be found

    I have a provider hosted app in sharepoint which works locally without problem. I followed this tutorial to publish it to azure
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/09/05/how-to-deploy-a-provider-hosted-app-as-an-azure-site.aspx
    However after publishing the webservice doesnt work I get this exception:
    [InvalidOperationException: The type 'x.IntranetWeb.Services.AppEventReceiver', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.]
    System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +62739
    System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1429
    System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +52
    System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +598
    [ServiceActivationException: The service '/Services/AppEventReceiver.svc' cannot be activated due to an exception during compilation. The exception message is: The type 'x.IntranetWeb.Services.AppEventReceiver', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found..]
    System.Runtime.AsyncResult.End(IAsyncResult result) +486572
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +174
    System.ServiceModel.Activation.ServiceHttpModule.EndProcessRequest(IAsyncResult ar) +345998
    System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +9683593
    My web.config which I didnt touch.
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=301880
    -->
    <configuration>
    <appSettings>
    <add key="webpages:Version" value="3.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
    <add key="ClientId" value="xx-04e7-4caf-854a-89c20577d7da" />
    <add key="ClientSecret" value="ljguTvxHR+xx+Pl1IMg1Hjt5rsQ=" />
    </appSettings>
    <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
    <customErrors mode="Off"/>
    </system.web>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
    <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <!--Used by app for SharePoint-->
    <binding name="secureBinding">
    <security mode="Transport" />
    </binding>
    </basicHttpBinding>
    </bindings>
    <protocolMapping>
    <add binding="basicHttpBinding" scheme="https" bindingConfiguration="secureBinding" />
    </protocolMapping>
    </system.serviceModel>
    <system.webServer>
    <handlers>
    <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
    <remove name="OPTIONSVerbHandler" />
    <remove name="TRACEVerbHandler" />
    <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    </system.webServer>
    </configuration>
    and a piece of the code of the remote event receiver
    <%@ ServiceHost Language="C#" Debug="true" Service="x.IntranetWeb.Services.AppEventReceiver" CodeBehind="AppEventReceiver.svc.cs" %>
    namespace x.IntranetWeb.Services
    public class AppEventReceiver : IRemoteEventService
    Follow me on Twitter
    levalencia Blog

    Hi,
    The issue here is the mapping of the interface to the service in question, and usually points to a possible mistype or rename of something within your service architecture.
    You need to make sure your namespace and service name here match your service name itself.
    For detailed information, you could refer to:
    https://haddicus.wordpress.com/2011/06/06/service-attribute-value-not-found-wcf-services/
    http://stackoverflow.com/questions/9557221/the-type-restservice-weddingservice-provided-as-the-service-attribute-value-i
    Regards

  • Custom tag attribute values..

              hi,
              I have created custom tags from my EJB using ejb2jsp tool. I tried the following,
              1 works and the other doesn't,
              a) This works.
              <mytag:foo param1="<%="test"%>" />
              b) this gives me a "ClassCastException" <% String value = "test"; %> <mytag:foo param1="<%=value%>"
              />
              ----++++++ java.lang.ClassCastException: java.lang.Object at javax.servlet.jsp.tagext.TagData.getAttributeString(TagData.java:165)
              at com.niteo.projects.intelXML.xbrl.ejb.jsp_tags._XBRLContentProvider_se tIdTagTEI.isValid(_XBRLContentProvider_setIdTagTEI.java:37)
              at weblogic.servlet.jsp.StandardTagLib.verifyAttributes(StandardTagLib.j ava:443)
              ----++++++
              I have tried all possible tricks, but this doesn't work. Is there something that
              I missed while creating the custom tag Or is it the way I am using the tag..?
              any help pls...
              thx in advance -jay
              

    It seems like you want to be able to clear the default attribute and set an empty attribute in you custom tag. One way around this would be to pass a blank character in. That would force the default to be cleared with the blank. You could take it a step further and trim the attribute value before storing it. Alternatively you could set an overriding attribute such as:
    <slasher:foo name="slasher" ignorewhatever="true" />
    protected String whatever = "some default Value";
    public void setWhatever(String whatever)
         this.whatever = whatever;
    public void setIgnorewhatever(String ignore)
         if(ignore.equals("true"))
              this.whatever = "";
    }Cliff

  • How to pass attribute values through variables in JSP  Custom TagLib

    Hi,
    Can anybody help me how to pass values through varuables in the jsp custom tag.
    i am using JSP custom tag. I am unable to pass attribute values through variables.
    <invitation:invdetails invid="<%=invid%>"/> The value is passing as <%=invid%> ,not value of the invid.
    But i am getting throuh the fllowing
    <invitation:invdetails invid='1' />
    Please anybody suggest me how to pass value by using the variable.

    Hi,
    It sounds like you need to set the <rtexprvalue> tag to true in the TLD for your tag. If you do this the tag will read in the value you are trying to pass to it.
    dapanther...

  • Updating Attribute value

    I have a simple XML document. file.
    <result success="TRUE">
    <plan>
    <step number="0" name="SelectTransportA"/>
    <step number="1" name="SelectFlight"/>
    <step number="2" name="GetMedicalFlightAccountB"/>
    <step number="3" name="SelectFlight"/>
    </plan>
    </result>What i want is to update any "name" attribute value at runtime. I receive "number" attribute value, so on the basis of the received number, i want my name attribute value to be updated.
    Just like updating a value in hashtable or vector given an index.
    Regards.

    It depends what you want to do, Do you just want to update the file? Then XSLT is probably the easiest. Do you want to update this in memory? Then DOM's Node.setAttribute is probably best.

  • InDesign CS3 crash during document open (at XML Attribute Value update for locked item)

    OS: Windows XP
    InDesign: InDesign Release 5.0.0.458   
    Plugins: No additional plugins
    I am facing crash in InDesign at following workflow
    Steps:
    1. Create a new document.
    2. Create a graphic frame.
    3. Place an Image (C:\TESTDIR\images\test-image.jpg)
    4. Tag the graphic frame (Right Click -> Autotag).
    5. Lock the layer.
    6. Save the doc at (C:\TESTDIR\files\test-doc.indd).
    7. Move the image file to (C:\TESTDIR\)
    8. Open the same document.
    9. InDesign Crash.
    Crash log:
    Adobe InDesign Protective Shutdown Log
    06/01/09 14:48:51
    Unhandled error condition
    Session started up at 2:44 PM on Monday, June 01, 2009
    Version: 5.0.0 - Build: 458
    Error Code 0xbfcd: "Cannot modify elements that contain locked content, or are contained by locked content. Please unlock or check out the content and try again."
    Command Sequence:
    > kOpenFileWithWindowCmdBoss = ""
    > kOpenFileCmdBoss = ""
      > kOpenDocCmdBoss = ""
       > kSetDocNameCmdBoss = ""
       > kSetDocNameCmdBoss = ""
    > kSetAllUsedStyleCmdBoss = ""
      > kSetAllUsedStyleCmdBoss = ""
    > kRestoreLinkCmdBoss = "Restore Link" : kBeforeDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
    > kSetAssetAttributesCmdBoss = "" : kBeforeDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
      > kSetAssetAttributesCmdBoss = "" : kAfterDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
    > kXMLSetAttributeValueCmdBoss = "Set Attribute Value" : kBeforeDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
      > kXMLSetAttributeValueCmdBoss = "Set Attribute Value" : kAfterDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
    > kRestoreLinkCmdBoss = "Restore Link" : kAfterDoMessageBoss @ kDocBoss (IID_ICOMMANDMGR)
    Please let me know how to stop XML tag updation (execution of  kXMLSetAttributeValueCmdBoss) at document open.

    Is the first time one of these files crashes always on one system or another, or is it random across systems?
    It is random and it's not related to a file (one time i can open the file andanother time it cause an InDesign crash);
    It sounds very much like a font problem. Are you using a font manager, and if so, which one?
    We have reproduced the problem also on machine with only system's fonts.
    I forgot to say that the crashes happen only with InDesign files with InCopy files linked in.
    Thanks
    Alessandro

  • How to Add custome attribute value of user id

    Hi my friend.
    from below cmd i can able to view the current attribute value. but i wanted to modify the value. so can you please provide dsmod cmd for modify
    dsquery * domainroot -filter "&(objectCategory=person)(objectClass=user)(sAMAccountName=username)" -attr extensionattribute2
    Dsmod ...................?
    James
    8892722073

    Hi James,
    As you said, the command Dsmod user can be used to modify attributes of one or more existing users in the directory. However, this command could not be used to modify the custom attribute, its syntax has been set.
    You can use builted in Active Directory Attribute Editor to modify a user's attribute:
    Open Active Directory Users and Computers.
    Locate the User container, and then find the user which you want to modify.
    Right-click the user, click Properties, and then click the tab
    Attribute Editor.
    Slect the attribute which you want to modify, click Edit, modify the value, and then
    click OK to save the change.
    For your information, please refer to the following figure:
    What's more, please refer to the following article to learn to use the PowerShell AD Provider to Modify User Attributes
    Use the PowerShell AD Provider to Modify User Attributes
    http://blogs.technet.com/b/heyscriptingguy/archive/2013/03/21/use-the-powershell-ad-provider-to-modify-user-attributes.aspx
    Regards,
    Lany Zhang

Maybe you are looking for