cancel
Showing results for 
Search instead for 
Did you mean: 

Context at design time and run time

Former Member
0 Kudos

Hi,

Can anyone tell me what is the difference between context at design time and context at run time?

Regards

V. Suresh Kumar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

Context structure at design time describes,creation of metadata structure,with in which the runtime data will exist.

means it's like a file structure consists of collection of nodes and attributes.

Context at runtime means Multiple instances may exist for that collection we created at design time.

At design time we can describe like context having dependent or independent nodes.

At runtime,we can decribe it as context having singletone or nonsingletone nodes.

Former Member
0 Kudos

Hi Suresh,

Context at design time means, we specify the context nodes/attributes that will be used by that particular controller either view/component controller.

If we don't know how many attributes in a node there at design time, ex: comparing users information based on

the number of users, we use dynamic context.

Coming to functionality issue, both will work in similar way.

One difference is:

Dynamic context can be deleted programatically, where designtime context must be deleted manually.

wdContext.getContext().reset();

The above statement will delete all dynamically created context.

Regards

LakshmiNarayana Chowdary.N

former_member192434
Active Contributor
0 Kudos

Hi

Check this context at run time

you will get both desgin time and runt time as well

thanks

0 Kudos

The structure of context is usually defined at design time while context node and attributes are created at runtime based on the design. However, it is possible to modify the contents of context as well as to alter its structure at runtime too. To help understand it better, see these 2 online presentations.

1. [The context at design time|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f059fe81-90f2-2a10-9593-cda1645f0020].

2. [The context at run time|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a015df6f-28f3-2a10-0291-e8e5c8aeb1bd].

Hope it helps,

Vishwas.