Skip to Content
author's profile photo Former Member
Former Member

Accessing linkbutton cell data from a system matrix

I am using the UI SDK with SBO to develop an add-in. I am trying to access data from the matrix on the Sales Order form and I am stuck where the cell type is a link button.

I have figured out how to do it for an Edit cell and a Combobox cell using the UI SDK, but in the case of a link button, the only property available for that item type is the LinkedObject property which is a BoLinkedObject enumeration.

How whould I get the "Item No." value for example as entered in the form's matrix by the user?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 09:52 AM

    hi,

    A linked button works the same as an edit text. Just cast the specific object of the cell in an edit text object

    In C# code this gives the following

    string val = ((SAPbouiCOM.EditText)mtrx.Columns.Item(colID).Cells.Item(row).Specific).Value;
    

    Yannick

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.