Webutil and object properties

I'm trying to access property that has been declared as
[id(0x6002009a), propget, helpcontext(0x0000027f)]
_CadInputQueue* CadInputQueue();"
I get error "com.jacob.com.ComFailException: Can't map name to dispid: CadInputQueue".
Code I'm using is like this:
app := CREATE_OBJECT('MYAPP.Application');
queue := GET_OBJ_PROPERTY(app, 'CadInputQueue');
... and then process queue but it only gives that error.
If I use eg. BSTR'ed everything works. Any ideas?

Declare in your header file that your VC adopts the UIScrollViewDelegate protocol and the warning will go away.
You cannot print out C structures as Objective-C objects using the %@ format specifier. You need to print the various primitive components of the CGRect using the appropriate specifier (generally %f, %g etc. can be used for float values).

Similar Messages

  • Delegates, and Object properties are null

    -----------------------------
    CGRect frame = CGRectMake( 0, 0, 100, 100 );
    _svContainer = [ [ UIScrollView alloc ] initWithFrame:frame ];
    _svContainer.pagingEnabled = YES;
    _svContainer.scrollEnabled = YES;
    _svContainer.showsHorizontalScrollIndicator = NO;
    _svContainer.showsVerticalScrollIndicator = NO;
    _svContainer.delegate = self;
    i have this code in my viewDidLoad function in my view controller. the scrollview gets set up properly and everything displays fine. I'm setting the delegate of the scrollview to the view controller. and get the following warning: "Class 'MyViewController' does not implement the 'UIScrollViewDelegate' protocol". However, i have a function to capture when the scrollview is scrolling which does get fired:
    -( void ) scrollViewDidScroll:( UIScrollView * )scrollView
    NSLog( @"SingleIssueViewController :: scrollViewDidScroll:" );
    NSLog( @" offset:%@", scrollView );
    NSLog( @" prop:%@", scrollView.frame );
    the variable scrollView is good, but frame prints out "(null)". I've tried accessing other properties, like .contentOffset, to which the app crashes without any sort of error message in the console.
    what could be causing this?
    Message was edited by: mrkos66
    Message was edited by: mrkos66

    Declare in your header file that your VC adopts the UIScrollViewDelegate protocol and the warning will go away.
    You cannot print out C structures as Objective-C objects using the %@ format specifier. You need to print the various primitive components of the CGRect using the appropriate specifier (generally %f, %g etc. can be used for float values).

  • Roles and Object queries tab not visible in MBO attribute properties

    Hi,
    We have installed the SUP Personal developer edition 2.0 on a windows 2008 server. I am trying to create a sample application for getting the list of sales orders by using the SAP BAPI. Once I have the MBO in place, I see that I cannot view the 'Roles' and 'Object Queries' tabs in the 'Attributes' section of the MBO properties.
    Does anyone know why this happens? Is it due to configuration issues? Do help me out as we're trying to get a demo working.
    Thanks & Regards,
    Vaishnavi

    Hi Vaishnavi,
    Check whether you have selected "Advanced" mode . You should be able to see it.
    Regards,
    Viju

  • Object ID and Object ID Version fields in Displaying Object Properties - XI

    Hi,
    In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
    But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
    1.
    Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object  (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    Or does the Object ID change every time the object is edited and change list activated for it?
    What is the behavior of these two fields when transported? e.g. dev to qa...  are they both retained on the target IB's?  (specifically for ID objects because the change list needs to be activated first on the target ID)
    2.
    Does any one know where the Object ID and Object ID Version gets stored?  (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL)  I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step.  I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
    Kindly give me some inputs.
    Please answer directly with the questions above. I will reward points for it.
    Thanks in advance.

    HI,
    >Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    The Object Id is created the first time you create the object.
    Object Version Id is created the first time you save/activate a object.
    Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
    For IR Objects the Object Id & Object Version ID will remain the same across systems.
    For ID Objects the Object Id & Object Version ID is not the same across systems.
    Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
    Regards,
    Sumit

  • Properties window and Object Browser window not visible anywhere

    Although "Properties"  and "Object Browser" are ticked in the View menu, the windows do not appear anywhere on the screen (yes I have looked everywhere).  The "Components" window appears as normal.  It does not matter what Xcelsisus file I am working in, as the problem is the same even when I first launch Xcelsius.  I was running Xcelsius Engage 2008 with Office 2003 and did not have this problem.  I recently upgraded to Office 2007 and now I have this problem.  I run the same software on my notebook without any problem.  Very frustrating.  Any ideas on how to fix the problem?   Thanks JR

    Hi JR,
    This should be something simple.  Please use the shortcut to get focus to :Object Browser" by pressing Ctrl+4,  If you are unable to spot the object brower, it must be minimised eighter of the corner of Xcelsius window.
    Use "Restore Dwon" button which will be at the right top corner (before Close Button) so that your Xcelsius window become smaller size. Try to find the border of the working window and make it smaller in all 4 sides using mouse.  You will find the Object Browser, Property window somewhere.
    Please revert if this does not helps you.
    With best wishes
    BaaRaa.

  • Webutil and XP

    Hi,
    We have a form in which we use the call web.show_document(l_url, '_blank'), where l_url is a location of an html file on a local pc. Then in a
    seperate browser the html file is shown.This works fine for our application.
    Now some users are migrated to XP as OS, instead if 2000.. For these users no webbrowser is started after the call to show_document. In the
    javaconsole is also no error seen. It is just that nothing happens.
    In IE and Firefox this problem occurs.
    Is there an issue between webutil and XP? Or is this a different kind of problem?
    Richard

    Thx for quick reply..
    We tried it.. But, problem keeps existing...
    We also tried XP and IE6... again no browser appears ...
    This is the information in the Java Console..
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\OPERATORProxy Configuration: Manual Configuration
    Proxy: dasproxy:80 Proxy Overrides: <local>JAR cache enabled
    Location: C:\Documents and Settings\OPERATOR\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://xxxxx:7778/forms/java/frmall_jinit.jar from JAR cacheLoading
    http://xxxxxxx:7778/forms/java/frmwebutil.jar from JAR cacheLoading
    http://xxxxxxx:7778/hsd65java/hst65.jar from JAR cacheLoading
    http://xxxxxxx:7778/dasimages/das_images.jar from JAR cacheRegisterWebUtil
    - Loading WebUtil Version 1.0.6
    Loading http://xxxxxx:7778/forms/java/jacob.jar from JAR
    cacheproxyHost=nullproxyPort=0connectMode=HTTP,native.Versie van Forms-applet is: 10.1.2.0

  • In Object Properties dialog box, modify "tab path"...

    For FrameMaker versions up to and including 8 (and I suspect 9).
    Select a graphic, then click in sequence
    ESC g o to open the
    Object Properties dialog box. By default the dialog box opens with the insertion point in the
    Width text entry area.
    Now press TAB four times: The insertion point moves sequentially to the
    Height,
    Top,
    Left, and then
    Color text entry areas.
    I wish the last movement, to the
    Color text entry area, was replaced with movement to the
    Percent text entry area. This would enable me to use the keyboard to efficiently configure the size, position, and scaling of a graphic.
    As it is, I virtually never need to select the graphic's
    Color text entry area and the movement of the insertion point to that essentially useless tool drives me crazy: It makes me TAB all the way 'round the dialog box or grab the pointing device to get it to the
    Percent text entry area...
    Cheers,
    Riley

    Odd... What does your properties dialog look like? Can you post a screenshot of the dialog box? Also, what version of LabVIEW are you running?
    Message Edited by smercurio_fc on 06-03-2008 04:56 PM

  • Webutil and Outlook - I get a WUO-714 and WUO-705 error

    Hi,
    I have installed webutil and it loads fine an all. However, I have a problem with a Microsoft Outlook integration. I am simply trying open an Outlook mail item, which is then filled out with some data. Pressing the Send button is up to the user.
    Everything works until the line "mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');" is called. Here Forms reports back: "100501: non-Oracle exception" and the java console gives a WUO-714 and WUO-705. The problems seems to be the Display method. At that point, despite errors, I do have an open, visible mail item with the proper data filled in. (In this process I noticed that the final invoke_obj should happen after you write stuff into the To, Subject and Body of the mail, but that's besides the point.)
    Any advice you can offer is welcome.
    Sincerely,
    Jesper Vad Kristensen
    Aarhus, Denmark
    --- Java console error codes --
    Loading http://oiatst01.tdk.dk:7778/forms90/webutil/webutil.jar from JAR cache
    Loading http://oiatst01.tdk.dk:7778/forms90/webutil/jacob.jar from JAR cache
    Loading http://oiatst01.tdk.dk:7778/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    2003-nov-17 09:42:50.624 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
    null
    2003-nov-17 09:42:50.634 ERROR>WUO-705 [OleFunctions.invoke_ret_obj()] Unable to invoke Method: Display; Exception
    com.jacob.com.ComFailException: VariantChangeType failed
    --- end ---
    --- Form code ---
    Declare
         OutlookApp      CLIENT_OLE2.OBJ_TYPE;
         Folders      CLIENT_OLE2.OBJ_TYPE;
         MailItem      CLIENT_OLE2.OBJ_TYPE;
         MailItem2      CLIENT_OLE2.OBJ_TYPE;
         OLEPARAM      CLIENT_OLE2.list_type;
         v_kundenummer     varchar2(12) := :v_engagement.konto;
         v_firstname      varchar2(50) := :legal_person.firstname;
         v_surname           varchar2(50) := :legal_person.surname;
         v_company_name      varchar2(50) := :legal_person.company_name;
         v_to                varchar2(50) := '[email protected]';
         v_cc                varchar2(50);
         v_body                varchar2(250) := 'Kundenummer'||' ' ||v_kundenummer||chr(10)||v_firstname||' '||v_surname||' '||v_company_name;
         v_bcc                varchar2(50);
         v_subject           varchar2(50) := 'Fakturakopi';
         v_duedate           varchar2(50);
         v_invoicetext      varchar2(400);
         v_user                varchar2(50):= user;
         v_faktura           varchar2(400);
    BEGIN
         /* snip some string work to create Body contents */
         OutlookApp := CLIENT_OLE2.CREATE_OBJ('Outlook.Application');
         --Create a newMail Object
         OLEPARAM := CLIENT_OLE2.CREATE_ARGLIST;
         CLIENT_OLE2.ADD_ARG(OLEPARAM,0);
         MailItem := CLIENT_OLE2.INVOKE_OBJ(OutlookApp,'CreateItem',OLEPARAM);
         CLIENT_OLE2.DESTROY_ARGLIST(OLEPARAM);
         -- Show the new message box. - Dont do when mailing straight Through
         CLIENT_OLE2.set_property(MailItem,'To',v_to);
         CLIENT_OLE2.set_property(MailItem,'Subject',v_subject);
         CLIENT_OLE2.set_property(MailItem,'Body',v_body);
         mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');
         CLIENT_OLE2.RELEASE_OBJ(MailItem);
         CLIENT_OLE2.RELEASE_OBJ(MailItem2);
         CLIENT_OLE2.RELEASE_OBJ(NameSpace);
         CLIENT_OLE2.RELEASE_OBJ(OutlookApp);
         /* snip some more */
         exception
         when others then
         message('other error: '||sqlerrm);
    --- end ---

    Both the Outlook type library and the M/S online documentation show that the display method on MailItem does not have a return type. try a simple INVOKE rather than INVOKE_OBJ

  • Class and Object name change in the universe designer

    Hello Experts
    I have a confusion , I am just wondering if I devlop a bobj universe, lets say, based on SQL database and change the name of the class and object during the creation of the universe, will that fetch the data from d/base properly while running a query / report. Although universe class and object has different names than database now but the records are the same. Do we need to point the object to d/base object in some kind of different or special way .
    To make my question more simple, In d/base table name is "Employee" whereas on universe side I create a class name "Staff" and at the same time field name in the database is "Emploee ID" whereas in the universe I named it "Badge number".
    Please advise if that will make any difference while I run the query or Is there any kind of complication on the universe side that I should expect which I am not familiar with.
    I would apprecite your response.
    Best Regards

    Hello experts,
    Let me rephrase the issue with exact scenario.
    I have a table names "REGION" with fields region id, region and country id.
    I have another table name REGION_SLINE with fields SL_id, region id and Sales_revenue.
    I created an equi join between these two tables based on region id field and checked the cardinality which is ok.
    Now when I try to create a report based on sales revenue per customer ( "customer's first name"  is an other field on CUSTOMER table), I dont get any result in the report and get a message that "No data to reterive"
    Also please note that when I run a report which is sales revenue per region id, I get the result, seem slike these two tables REGION and REGION_SLINE can generate the report but sales revenue per customer report is not generated because customer first name is a field of another table.
    I was just wondering if I need to write some kind of where clause in the object properties of region id which is used to create equi joon link.
    I woulld appreciate your response.
    Regards
    Edited by: SAP_LCCHS on Jul 4, 2011 9:19 AM
    Edited by: SAP_LCCHS on Jul 4, 2011 9:21 AM

  • Tag files, Lists, and object typing

    I'm passing a list of objects to a custom tag, created via a tag file.
    I can access object properties in the jsp page like this -
    <c:out value="${listOfItems[0].property}" />
    but inside the tag it doesn't work. It understands that its being passed a list and the number of items in the list but not the type of objects in the list. I think I need to declare the type of object that the list is returning but I'm unsure of th jstl way of doing this.
    advice?
    thanks

    JSTL uses introspection/reflection to call methods/access properties.
    It doesn't have to know the type of object in the list.
    How are you accessing this object in your tag file? Using EL again? That should work fine. If you use java/scriptlet code then you will need to cast the object.
    Have you declared the attribute that is being passed in? What type are you expecting? Default is String unless you specify otherwise.

  • Can't edit object properties (Acrobat X, Acrobat 8.x)

    I'm trying to tag a PDF for accessibility. I would like to be able to tag the images in the document as 'background'.
    Unfortunately, I'm not able to edit any of the object properties for images.
    Here's what I do:
    Expose the Content tools.
    Click Edit Object.
    Click to select an image.
    Right-click and select Properties.
    At this point, a multi-tab dialog pops up, in which all fields are disabled.
    I thought to work around the problem by going back to Acrobat 8.x, but I'm seeing the same behavior there.
    What step am I missing, here?

    These are the steps I've been told to use to edit the tags on an image:
    Open the Content section in Tools.
    Click 'Edit Object'.
    Click image to select it.
    Right-click image and select 'Properties'.
    Change to Tags tab.
    Set tag to 'Artifact.'
    These steps are impossible to complete, because all fields in the Properties (a.k.a. "TouchUp properties" [sic]) dialog are disabled.
    If in fact this has "nothing to do with tagging an image", then I shouldn't even be able to access the dialog, much less be able to access it and discover that all settings it exposes are disabled.
    In fact, every means that I've found so far that gives me access to the "TouchUp proerties" dialog for an image or a path, gives it to me with all fields except color disabled. (Please note: this is not just paths, it's also images. Even if it were just paths, that would be a serious problem, since any brochure or magazine layout is liable to contain a huge number of paths that need to be tagged as background images.)
    The ONLY ways so far that I've found that it's possible to edit the tags on an image are:
    Use 'Find...' as described above to bring the image/path/etc. into the reading order, and then use the TouchUp Reading Order dialog or right-click in the Reading Order pane to set it as background. This is inexact and time-consuming, especially for things like graphic-intensive brochures or magazine layouts.
    Use a marquee-selection in the TouchUp Reading Order tool to select objects and set them as background. This is inadequate because in many of the cases that I deal with, you'll still be left with a lot of objects you can't select in this manner. (Try using this method to select an image that has the same vertical or horizontal dimension as the page it resides on, for example.)
    If you are aware of another way, I wisth you'd tell me what it is.
    It sounds to me like you're thinking I'm using the Select Object tool. I'm not. It's pretty obvious that's not going to work, because it doesn't even afford access to the "TouchUp properties" dialog.

  • [svn:fx-3.x] 10416: Allow null in object properties when sorting.

    Revision: 10416
    Author:   [email protected]
    Date:     2009-09-18 15:30:02 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Allow null in object properties when sorting.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-13585
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-13585
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/SortField.as

    Hello Sini and all-
    We've applied SP 8 and we're now able to show free characteristics only.  However, in our 3.x reports, we give our users a lot of free characteristics, so we arrange these in different navigation blocks to make thme easier to find.  So far in NW2004s, I find no way to limit specific characteristics to a particular navigation block/pane. In 3.x we use the following parameters in the Nav Item to do this:
    <param name="ITEM_NAV_BLOCK_IOBJNM_1" value="DIVREP"/>
    <param name="ITEM_NAV_BLOCK_IOBJNM_2" value="0COMPANY"/>
    <param name="ITEM_NAV_BLOCK_IOBJNM_3"value="0COMP_CODE"/>
    Please advise if you know of any way to accomplish this in NW2004s.
    Thanks,
    Ray

  • DTR workspace Basic properties and coustom properties

    If i ritght click on workspace, a wizard will be opened with basic propeties and Coustom properties, even though i created workspacefolder,workspace why wizard shows empty  properties.
    Actually in basic properties it should show
    1)creation date
    2)creator
    3)Name
    4) Object Id
    C:\Documents and Settings\user\.dtr -> system file in filters i have included workspace path for both active and inactive
    why Basic /coustom properties are empty?

    Hi RK,
    The "Basic Properties" in this dialog refer to the properties maintained by the DTR Server. The "Custom Properties" refer to properties which can be set on a resource by a client (using API only, and not through UI).
    The settings you are referring to (in the .dtr folder) are configuration information specific to this user - currently there is no support for viewing or maintaining this information from the DTR Client UI.
    Regards,
    Manohar

  • How do I Enable Crud and other properties in ListViewWebPart programmatically

    In SharePoint (SharePoint Designer) 2010, to use a custom list in different sites, we used the resource to export the to site gallery. So the list became a list web part where I could use all the available resource list created on the
    same site (examples: list settings, crud, views ...)
    We need to provide the same functionality in 2013 programmatically for the user. We try ListViewWebPart class to use, but the resources of crud on the list were not available.
    I Would like to how do I enable crud and other properties in ListViewWebPart or if there is another class that does it.
    Thanks in advance

    Try below:
    http://www.dotnetcodesg.com/Article/UploadFile/2/216/CRUD%20%28Create%20Read%20Update%20Delete%29%20Operations%20on%20a%20SharePoint%20List%20programmatically.aspx
    usingSystem;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Microsoft.SharePoint;
    namespace SharePoint__CRUD_Operations_on_a_List
    {   publicpartialclass Form1
    : Form   {
         public
    Form1()     {
              InitializeComponent();
        private voidForm1_Load(object
    sender, EventArgs e)
             BindAllRecords();
        private void BindAllRecords()
              using
    (SPSite site = newSPSite("http://localhost:7000"))
                    using
    (SPWeb web = site.OpenWeb())                 {
    SPList list = web.Lists["MyContacts"];
    SPListItemCollection items
    = list.Items; cmbItemId.DataSource = items.GetDataTable();
    cmbItemId.DisplayMember =
    "Id";
    cmbItemId.ValueMember =
    "Id";
    private void btnAllItems_Click(object
    sender, EventArgs e)         {
    GetAllItems(0);
    private void btn_Search_Click(object
    sender, EventArgs e)
    using (SPSite
    site = newSPSite("http://localhost:7000"))
    using (SPWeb
    web = site.OpenWeb())                 
    SPList list
    = web.Lists["MyContacts"]; SPListItemCollection items
    = list.Items; foreach(SPListItemlistItemin
    items)                 {
    if (listItem["ID"].ToString()
    == cmbItemId.SelectedValue.ToString())                         {
    textBoxTitle.Text = (string)listItem["Title"].ToString();
    textBoxName.Text = listItem["Name"].ToString();
    textBoxAddress.Text = listItem["Address"].ToString();
    textBoxContactNo.Text = listItem["ContactNo"].ToString();
    textBoxCountry.Text = listItem["Country"].ToString();
    lblErrorMsg.Text =
    "Search Result";
    lblErrorMsg.Visible =
    true;
    DataView dv = items.GetDataTable().DefaultView;
    dv.RowFilter="ID="
    + cmbItemId.SelectedValue; dataGridViewAllItems.DataSource = dv;
    private void btn_AddItem_Click(object
    sender, EventArgs e)
    using (SPSite
    site = newSPSite("http://localhost:7000"))
    using (SPWeb
    web = site.OpenWeb())                 {
    web.AllowUnsafeUpdates =
    true;
    SPList list
    = web.Lists["MyContacts"]; SPListItem Item
    = list.Items.Add(); Item["Title"]
    = textBoxTitle.Text; Item["Name"]
    = textBoxName.Text; Item["Address"]
    = textBoxAddress.Text; Item["ContactNo"]
    = textBoxContactNo.Text; Item["Country"]
    = textBoxCountry.Text; textBoxTitle.Text =
    textBoxName.Text =
    textBoxAddress.Text =
    textBoxContactNo.Text =
    textBoxCountry.Text =
     Item.Update();
    web.AllowUnsafeUpdates =
    false;
    lblErrorMsg.Text =
    "Item Added Successfully...";
    lblErrorMsg.Visible =
    false;
    GetAllItems(0);
    private void GetAllItems(
    intItemID)
    using(SPSite
    site = newSPSite("http://localhost:7000"))
    using (SPWeb
    web = site.OpenWeb())                 {
    SPList list
    = web.Lists["MyContacts"]; SPListItemCollection items
    = list.Items; if (ItemID == 0)
    dataGridViewAllItems.DataSource = items.GetDataTable();
    else
    DataView dv = items.GetDataTable().DefaultView;
    dv.RowFilter =
    "ID=" + cmbItemId.SelectedValue;
    dataGridViewAllItems.DataSource = dv;
        private void btn_UpdateItem_Click(object
    sender, EventArgs e)     {
                using (SPSite
    site = newSPSite("http://localhost:7000"))
                       using
    (SPWeb web = site.OpenWeb())                    {
    web.AllowUnsafeUpdates = true;
    SPList list
    = web.Lists["MyContacts"];                          SPListItem
    Item = list.GetItemById(Convert.ToInt32(cmbItemId.SelectedValue));
    Item["Title"]
    = textBoxTitle.Text; Item["Name"]
    = textBoxName.Text; Item["Address"]
    = textBoxAddress.Text; Item["ContactNo"]
    = textBoxContactNo.Text; Item["Country"]
    = textBoxCountry.Text; textBoxTitle.Text =
    textBoxName.Text =
    textBoxAddress.Text =
    textBoxContactNo.Text =
    textBoxCountry.Text =
    Item.Update();
    web.AllowUnsafeUpdates =
    false;
    lblErrorMsg.Text =
    "Item Updated Successfully...";
    lblErrorMsg.Visible =
    true;
    GetAllItems(Convert.ToInt32(cmbItemId.SelectedValue));
           private void btnDeleteItem_Click(object
    sender, EventArgs e)        {
                using
    (SPSite site = newSPSite("http://localhost:7000"))
                      using
    (SPWeb web = site.OpenWeb())                   {
    web.AllowUnsafeUpdates =
    true;
                            SPList
    list = web.Lists["MyContacts"];                         SPListItem
    Item = list.GetItemById(Convert.ToInt32(cmbItemId.SelectedValue));
                            Item.Delete();
    web.AllowUnsafeUpdates = false;
    lblErrorMsg.Text =
    "Item Deleted Successfully...";
    lblErrorMsg.Visible =
    true;
    BindAllRecords();
    GetAllItems(0);
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/05/05/walkthrough-of-enabling-crud-for-sharepoint-2010-external-lists-using-visual-studio-2010.aspx
    If this helped you resolve your issue, please mark it Answered

  • REG: ESS WAS AND ITS properties for EHP4

    Dear All,
            We are using Business Package ESS SP6 with EHP4.
    My question is which type of Applications are used in this EHP4. (ie., BSP or ABAPwebdynpro or JavaWebDynPro )
    If the application types are of JAVA WEBDYNPRO how should we assign the WAS and ITS parameters for SystemObjects like
    SAP_BSP_EREC
    SAP_R3
    SAP_R3_Financials
    SAP_ITS_XSS
    SAP_WebDynpro_XSS(mainly regarding this system object WAS and ITS properties.)
    Please suggest on this.
    Regards,
    kishore.
    Edited by: kishore kumar on Dec 16, 2010 12:18 PM

    Hi,
    We are facing a patch level miss match, as we are unable to see the new patches in the given list, as we are following the below link
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/HOWTOGETRIDOFSPSTACKMISMATCHISSUES
    Currently ABAP patches like.,
    EHP4 STACK 8(SAP_APPL 604 PATCH 8). for this level above link was not updated,
    can you please guide us, what are the relevant JAVA COMPONENTS need to be upgrade.
    We will be waiting for your reply.,
    Thanks in advance,
    Regards,
    kishore.

Maybe you are looking for

  • Extra networks listed but don't exist

    If I go to the System Preferences/Network/Location Automatic/Show AirPort....I see By default, join "A specific network" as my only option. Then in the Network listing there are two extra networks listed but they are phantom and don't exist. In the u

  • Add field TIDNR to list edit PM reports

    Hi, We have a requirement to add field TIDNR (Technical Identification number) from ITOB table into several list edit PM reports (IW28/29/38/39/64 to 69) I have read sap note [586523|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnot

  • By what ways the upper company can control the business of lower company?

    Hi,dear gurus It is a multi-organizational company.   the headerquater want to take the strict and aslo flexible control over lower companies such as subsidiaries,branches. I need the control of three areas including  master data, business workflow a

  • Quesion about dbms_advanced_rewrite ???

    SCOTT@oracle10g>alter session set nls_language=american; Session altered. SCOTT@oracle10g>create table tt1 as select * from user_objects; Table created. SCOTT@oracle10g>create table tt2 as select * from dba_objects where owner='SYSTEM'; Table created

  • Contacts on multiple devices

    My family has an iMac, a Macbook pro, an iPad, and iTouch, and want to have one and only one set of Contacts that is kept in sync over all devices.  We have a few hundred contacts, and about 6 groups. Right now we are plagued by groups that show up d