Prepare for your Next Interview
This is a discussion on Steps for creating a MVG within the Seibel forums, part of the Enterprise Solutions category; What are the steps on creating a MVG and is it possible to have the MVG popup to cascade based on the selection before? (ie. select state; cascade to the ...
|
|||
|
Steps for creating a MVG
What are the steps on creating a MVG and is it possible to have the MVG popup to cascade based on the selection before? (ie. select state; cascade to the cities associated with that state)
Question asked by visitor nik |
| The Following User Says Thank You to Geek_Guest For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Steps for creating a MVG
to create MVG v shd know,
wat is link,MVL,MVF,SVF? a single value field name in which mvg appears. this field refers to MVF... for MVF v need MVL name to create MVL v need link name its like link to MVL to MVF to SVF. thats it MVG over. |
|
|||
|
An mvg(multi valued group) as the name suggests, lets you store multiple entries in one field. Eg. If you have an account and an account team. An account team can have a number of members. But if you were gonna give the list of members in another applet, that would be space consuming on the page. Hence, siebel brought in mvg so that you can, only if u want, view the whole list as a pop up applet, and add or delete entities from there. Steps for creating an mvg: to demonstrate the creation of an mvg, if we assume that we need an mvg for a contact's email address. 1. Since we need more columns to store multiple email address and we require a primary email for each contact, we will use the 1:m extension table of s_contact, which is s_contact_xm. 2. Check in s_contact if there is an unused column that is a foreign key to s_contact_xm. Else create one, say x_pr_email_addr. 3. Apply the changes to the localdb and activate 4. Create a bc based on s_contact_xm with the following fields name,type,par_row_id,row_id,attrib_04 note: name column can be used to store the email address. 5. In the search spec of the new bc, give [type] = ‘email’ 6. In the predefault value of the type field in the bc, give ‘email’ without the quotes. 7. Now create a link between the contact bc and the new bc in such a way that id in contact bc and parrowid in the child bc are linked. 8. In contacts bc, create a single value field primary email address, that references the column that we created that has a foreign key relationship with s_contact_xm. 9. Now create an mvl in contacts bc. Following fields: name: any name auto primary : default destination bc, destination link primary id field: primary email address use primary join: checked 10. Now create a mvf in the contacts bc. The field should be the field in the destination bc where the email address is stored, and specify the mvl that we created earlier.with that we are done with the business layer part of it. 11. Create an applet for the mvg, hence based on the bc that we created based on s_contact_xm. Choose ssa primary field, email address. Use pop up list mvg as the template for both base and edit modes, type as mvg 12. Add the required buttons. 13. In the applets where u want the mvg, replace all email fields with the new mvf that you created, add the mvg applet that we created in the prev step, and make sure runtime is checked. 14. Voila! we re done with creation of the email address mvg. That’s all there is to creating an mvg. Hope you found it useful.
|
|
|||
|
You use an MVG typically when you want to save space on the screen. Using an MVG, you can show optional attributes such as alternate email address (example) in a single text control placeholder. If not for an MVG, we d have to show it in a separate applet. With an MVG, the user can click on it, only if he/she needs to view that content. Also, MVG displays the primary and hence the user can see the primary without even clicking on anything.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Climbing 10 Steps | jamesravid | Mathematical Puzzles | 7 | 08-29-2007 12:19 PM |
| Running 3 JCL is much more faster than one JCL with three steps | altehexe74 | MainFrame | 1 | 06-11-2007 02:49 PM |
| What are the steps to start Testing | vijenjoy2k2 | Testing Issues | 5 | 06-01-2007 12:57 AM |
| Steps are not recorded | mabobine | QTP | 3 | 04-20-2007 02:05 PM |
| What steps to take? | blenda | Unix/Linux | 1 | 09-24-2006 03:54 AM |