Siebel Open UI: Sample PM (Presentation Model) Template with detailed explaination

In my last post, tried to explain PR step by step. Hope it helps you.

Lets try to explore PM in this post in details, scene by scene.

[su_label]Scene 1:[/su_label]

[su_lightbox type=”image” src=”http://askmesiebel.com/wp-content/uploads/2014/06/PM1.jpg”]
PM1
[/su_lightbox]
Line#5: define a name to your first PM say MyFirstPM

Line#9: it has two parts, in first mention relative path to your file and in 2nd give all required files here

Line#16-20: its default Open UI class definition to call superclasses

Line#26: this is to refer core file for list applets

Line#29: this is to refer core file for form applets

 

[su_label]Scene 2:[/su_label]

[su_lightbox type=”image” src=”http://askmesiebel.com/wp-content/uploads/2014/06/PM2.jpg”]
PM2
[/su_lightbox]
Line#38: we can define new propertyset which will be available for both PM-PR

Line#41-43: bind our functions with pre defined events like ShowSelection (called when we change our selection on UI)

and FieldChange (called when we navigate from one field to other.)

Line#52: this function called from Init binding and here we can call our own custom methods

Line#54: we are executing custom methods and get its value

Line#55: based on above value, set value of propertyset

[su_label]Scene 3:[/su_label]

[su_lightbox type=”image” src=”http://askmesiebel.com/wp-content/uploads/2014/06/PM3.jpg”]
PM3
[/su_lightbox]
Based on value change of some field, we can trigger our custom methods or set value of propertyset to trigger some PR function (as we can bind same property in PR).

Line#73: this is our custom method which called from any of above functions as per our requirement. So, here we can write our codes usually it is interaction with Siebel server.

You can download these Open UI 8.1.1.11 PM PR template files and start with Open UI development. Best of luck friends !!.

[su_divider]

@AskmeSiebel

1 comment for “Siebel Open UI: Sample PM (Presentation Model) Template with detailed explaination

Leave a Reply

Your email address will not be published. Required fields are marked *