cancel
Showing results for 
Search instead for 
Did you mean: 

Link Arrows to Userdefined Objects

rasmuswulff_jensen
Active Contributor
0 Kudos

SBO2005A should support Linkedbuttons (Yellow Arrows) to UDOs, but I can't get this to work for the 3 cases... Anyone got this working:

1.

LinkedButtons in Grids

The grids EditTextColumn just have the LinkedObjectType. If i type the UDO's UID here linkedbuttons does not appear


grid.Columns.Item("DocNum").Type = BoGridColumnType.gct_EditText;
EditTextColumn col = (EditTextColumn)grid.Columns.Item("DocNum"];
col.LinkedObjectType = "UDO_UID";

2.

Normal linked buttons


Item i = oForm.Items.Add(ItemUID,BoFormItemTypes.it_LINKED_BUTTON);
i.LinkTo = "LinkedItemUID";
LinkedButton lb = (LinkedButton)i.Specific;
lb.LinkedObject = BoLinkedObject.lf_UserDefinedObject;
lb.LinkedObjectType = "LinkedObjectType"; //The UDO

3.

On normal matrix


LinkedButton lb = (LinkedButton)oColumn.ExtendedObject;
lb.LinkedObject = LinkedObject;
lb.LinkedObjectType = "UDOUID";

Can anyone tell what i'm doing wrong....

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185703
Active Contributor
0 Kudos

Hi Rasmus,

Where did you get the information from that 2005A would support linked buttons to UDOs?

I am sorry, but I never heard of that

+ I wouldn't know how that should work!

There's no information in the UDO definition which form to use to display a UDO!

Regards,

Frank

rasmuswulff_jensen
Active Contributor
0 Kudos

The BoLinkedObject Enum have a "lf_UserDefinedObject" entry....

Also the LinkedButton Object have a new LinkedObjectType property (String type)...

I was told this by "Felipe Ortega Aguilar (SAP)"

in this thread:

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rasmus,

It is for sure that 2005 version does not support LinkedButtons to UDOs.

I have it confirmed by the SDK development team.

Regards

Trinidad.

rasmuswulff_jensen
Active Contributor
0 Kudos

Sad, but thanks for clearing it up...

why have the enum ln_UserdefinedObject then? Part of future functionality or something?

rasmuswulff_jensen
Active Contributor
0 Kudos

Guess I'l use the old hack using ln_none until other things are possible

rasmuswulff_jensen
Active Contributor
0 Kudos

When I use a grid and want a linkedbutton I use the extendedobject to add a "-1" (-1 is lf_none) so I can make the normal hack the grid simply does not produce a link-arrow when running, so I can't do that even....!!! Is this a bug or a feature?!?

Message was edited by: Rasmus Jensen

Former Member
0 Kudos

What would happen if you just use as linkedbuttontype = "1" (some object) and intercept the the linkedbuttonitem event, do your stuff, and set bubbleevent to false...

it would just give you a visual buttonicon but that would do the trick, right?

rasmuswulff_jensen
Active Contributor
0 Kudos

Thought of that hack myself... Havn't tested it yet, but I can't see any problems to it...

But damn I'm tired of hacks and bugs by now... Please SAP. Live up to your name as a big Company and give us a decent product

Former Member
0 Kudos

I think this product has come a long way and believe that a lot of time goes into R&D. I didn't for one second think that the product is not decent!

Just my 2c worth!

rasmuswulff_jensen
Active Contributor
0 Kudos

I know... I'm was just fustrated for at moment there of not being able to deliver add-ons fast with smooth and nice code.

I too can remember the good old days with 6.5 and all the nice features we have gotten since then...

Former Member
0 Kudos

Hi Rasmus,

Luckily there's forums like this where we can express ourselves and get help from. I have worked with other products where the functionality of the SDK is not even close to what we had in 6.5.

Don't worry, we all get days like these

Adele

Former Member
0 Kudos

Hi all,

I´m frustrated too with thouse bugs, functionallity lack, and so on.

I think Sap should give a Wish List tool to the developer comunity. Not the slow interface they have nowadays for modifications.

Developers know the problems that they´ve got, and how to improve them.

Hope SAP people is earing this post.

Lot of work to do yet.

Must be said that it is improving... but quite slowly.

Regards,

Ibai Peña

PD: Formatted searchs been able to read matrix lines, and a VS.Net integrated form designer. Is it too much??