cancel
Showing results for 
Search instead for 
Did you mean: 

Binding table to deep context structure

Former Member
0 Kudos

Hi!

I would like to bind a context of the following type to a table:

- Model Root node 0 (0..n cardinality)

--- 1st level attribute A

--- 1st level model node 1 (0..1 cardinality)

-


2nd level attribute B

--- 1st level model node 2 (0..1 cardinality)

-


2nd level attribute C

I would like to bind each of the attributes A, B and C to a separate table column.

But:

When I now try to bind a table to this structure I may only select in the dialog

either (model node 1 and) attribute B

or (model node 2 and) attribute C

or (model node 0 and) attribute A.

Why is that? Can I do anything about?

Thanks,

Gunnar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear friends,

thank you for your help.

Today a colleague told me how I could keep my context hierarchy structure and map it completely to table:

I just had to set the property "singleton" on any of the 2nd level nodes to "false".

That's it and it worked.

Cheers,

Gunnar

Former Member
0 Kudos

Very strange...

In fact, you may set table data source to Model Root node, then invoke "Create Binding" dialog and add all nested attributes or add necessary columns / cell editors one-by-one and bind necessary properties to nested attributes.

VS

Former Member
0 Kudos

Hi Gunnar,

The "model node 1" and "model node 2" are of with cardinality "0..1", if the carfinality is of "1..1" then you should be able map it as a column of a table.

I guess in SP13, table inside a table feature is coming, once that feature is available then you should be able to add a table for 2nd/3rd column and you can bind "model node 1" and "mode node 2".

Regards,

Santhosh.C