Task Based UI @ Siebel 7.8 | Next Tip »Home

Dynamic Toggle Applets

OkAvarageGoodVery GoodExcellent (11 votes, average: 4.82 out of 5)
Loading ... Loading ...

In this post I will discuss how to create Dynamic Toggle applet in Siebel. In Toggle Applet introduction post I mentioned that in Dynamic Toggle user would see a different applet based on some field and its value. So let’s start the hands on Dynamic Toggle Applet.

Requirement:

We have “Account” (Parent) and “Notes” (Child), based on Account Type we should be able to see different Notes applets. For example if Account Type is “Customer” on Notes Applet we should see a field called “Customer Info” and if Account Type is “Hotel” we should see a field called “Hotel Info”. In all other cases we should see default Notes Applet.

First we need to do some basic configuration before we can start with setting up Toggle Applet. Here are the things that we will do.

  • Create a Calculated field in Account Note BC with following details:
    Name: Account Type
    Calculated Flag: True
    Calculated Value: ParentFieldValue (“Type”)
    Dynamic_Toggle_Applet_Field
    This field will fetch Account Type in Account Notes BC
  • Create 2 more copies of “Account Note Applet(which is default applet under Account Notes view) and Name them as Account Note Applet Toggle 1 and Account Note Applet Toggle 2.
  • Create 2 new fields in Account Note BC and name them as Customer Info and Hotel InfoDynamic_Toggle_Applet_New_Fields
  • Expose Customer Info field in Account Note Applet Toggle 1 
    Dynamic_Toggle_Customer_Web_layout
  • Expose Hotel Info field in Account Note Applet Toggle 2
    Dynamic_Toggle_hotel_Web_layout

Now our basic configuration is done. Let’s configure the Dynamic Toggle.

  • Query for Account Note Applet (we want to keep this as default applet so we will define Toggle on this applet)
  • Select Applet Toggle Object from object explorer
  • Create two new records with following details
    Record 1 detail:
    Applet: Account Note Applet Toggle 1
    Auto Toggle Field: Account Type
    Auto Toggle Value: Customer
    Record 2 detail:
    Applet: Account Note Applet Toggle 2
    Auto Toggle Field: Account Type
    Auto Toggle Value: Hotel
    Dynamic_Toggle_Object_Record

That’s it, now the only thing left to do is to compile your changes. Here are some screenshots of how it will look

Dynamic_Toggle_Hotel_Applet  Dynamic_Toggle_Customer_Applet

  • Share/Bookmark

Related Posts


Article by neel

Authors bio is coming up shortly. neel tagged this post with: , Read 387 articles by neel
  • Sugandh
    Hi,

    I want to set toggle value as for value cash no child applet appears. Is it possible in Siebel?
  • Yes, it is possible... will try to post details on it soon.. basically you need to configure a salutation applet for your solution
  • satish
    Hi Friends

    Could you please explain me what is difference between Dynamic Toggling and Dyanamic Drilldowns

    Thanks in Advance
    Satish
  • JP
    I came across a question,
    If I click on Opportunity Screen tab and I want to toggle between two applets, at the click of Opportunity tab itself. Based on Position assign to my user. Ex If position is Developer Show App1 and if posnt is Administrator App2
    What I guessed is : create a join with S_POSTN table and use that joined field for toggle
  • No, logic will not fail.

    As soon as you click new on Notes applet it will toggle based on account type. It will be better if you try implementing it once to clear your doubts.
  • Mahesh
    when we go to Account- Notes Detail View.
    Say supppose records are empty. then it will show default notes applet.

    user wants to create Account of type customer. And Create notes for that account, then he cannot see the field Customer info. Say suppose it is required.

    In this case this logic fails rt.
  • When you create a new account of type customer nothing will happen on notes applet. Notes applet will only toggle once you do a new record on notes applet.

    till that time you will keep on seeing default applet.
  • Mahesh
    say suppose i am trying to create new account of type customer. The Which notes applet will appear.
blog comments powered by Disqus

Polls

Do you like the new Comment System and new look to Site?

View Results

Loading ... Loading ...