GeeKs Blogging @ dotCOM

Let's share…
  • Home
  • About
  • How To – FAQs
  • Disclaimer
  • Terms & Conditions
22 Jun 2009

Siebel – Make MVG Field required

by Prachi Sharma



Siebel supports the concept of Multi Valued Fields, or the MVF. These generally relate to fields such as Addresses, or Contacts which may possibly be more than one for a particular Account record. You would generally notice an Inter table which would further store the details.

One of the major problems that pops up is to make these fields Required. This does not work if set at Field level or using the Required User Property for these Multi Value fields.
This can really frustrate the developer.

We can implement this by using the script below. I have tried to set this on a field called, “Dummy Field” for demo:

function BusComp_PreWriteRecord ()
{
var DummyField = this.ActivateField(”Dummy Field”);
DummyField = this.GetFieldValue(”Dummy Field”);

if ((DummyField == “”)||(DummyField == null))
TheApplication().RaiseErrorText(”DummyField is a required field.”);

return (ContinueOperation);
}

Replace Dummy Field name above with your field name, and it should work beautifully.

  • Twitter
  • Digg
  • Facebook
  • LinkedIn
  • Delicious
  • FriendFeed
  • Gmail
  • Hotmail
  • Multiply
  • MySpace
  • Yahoo Buzz
  • Yahoo Mail
  • Share/Bookmark

Related posts:

  1. Siebel – Make MVG Field required – II Hi friends, This is a follow-up post of the post...
  2. Siebel – Showing red asterisk on a conditionally required field In Siebel vanilla Application, we see a red asterisk (...
  3. Siebel – Make a field Required, conditionally There was a requirement in our project to make Account...
  4. Query on the Long Column or Field A typical problem in any EAI project. Others too!! One...
  5. Siebel – Popup Update Only Hi all, I was working with Siebel Multi Valued Links...
  6. Siebel – ActivateField() split wide open In Siebel, we generally tend to use the fields on...
  7. Siebel – InvokeServiceMethod() on Calculated Fields InvokeServiceMethod() is used to invoke Business Services and take values...

Tags: Applet, Configuration, Siebel



This entry was posted on Monday, June 22nd, 2009 at 10:32 AM and is filed under Siebel CRM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Siebel – Make MVG Field required”

  1. Siebel - Make MVG Field required - II | GeeKs Blogging @ dotCOM | Let's Share says:
    June 23, 2009 at 11:55 AM

    [...] post of the post by Prachi yesterday about making an MVG field Required. You can read the post here. Yes, this truly is an issue in development as the straight OOB methods don’t seem to work at [...]

  2. Nitin Jain says:
    June 23, 2009 at 7:05 PM

    Hi Prachi,

    I found a scriptless solution to this. Try this out:
    http://geeksbloggingat.com/2009/06/23/siebel-make-mvg-field-required-ii/

    Cheers,
    :-)

Leave a Reply

Click here to cancel reply.


« Siebel – Different MiniButton types
Siebel – Make MVG Field required – II »



  • Admin Controls

    • Log in
  • Talk to us

    • Bouquets, brickbats, suggestions, complaints?

    • Click here...
  • Authorships

    • We are currently looking out for active authors. Are you willing to contribute?

    • Please click here

    • Everyone's invited..
  • Subscribe by Email


  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Siebel Bookshelf

  • Daily Dilbert

    •          
  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (106)
      • CRM News (3)
      • Sage Software / ACT! (1)
      • Salesforce.com (2)
      • Siebel CRM (98)
    • EAI (2)
    • FUN 'n' FROLIC (4)
    • Hot Technologies (2)
    • IT News (37)
    • Meet the Author (9)
    • ORACLE (5)
      • Database (2)
    • Product Demostrations (5)
    • Uncategorized (3)
  • Tag Cloud

    Admin Admin Notifications Applet Author Introductions Business Analysis Business Component Calculated Function Certification CFG file Client Configuration Critique CRM Database Debugging EAI EIM eScript Fundamentals Fusion Middleware Google IT News License Login Microsoft ORACLE Performance problems Product Defect Product Demostrations Salesforce Scriptless solutions Security Server Siebel Siebel Secrets SOA Tips Tools Tricks Tutorials Upgrade User Property Workarounds workflows



  • Archives

    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Authors

    • Ankit Bhardwaj
    • Ashish Kaul
    • brijesh
    • Himanshu Bajpai
    • Madhvi Arora
    • nanpats
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

    • geeksblogging@gmail.com
    • admin@geeksbloggingat.com
  • Sponsors

Fresh Ideas

  • Siebel Openings - Contract to Hire
  • Google PAC-MAN
  • New Google Chrome Ads
  • Siebel Admin Mode Flag - II - Issue Log
  • Siebel - Admin Mode Flag
  • Narayan Patro
  • EAI Siebel Adapter BS - Upsert Multiple Child Records
  • Siebel - Upgrade Process - Part II
  • Siebel - Upgrade Process - Part I
  • Siebel - Upgrade Roadmap - Part II

Just Said

  • Nitin Jain on Siebel – Installer hangs midway
  • Narayan Patro on Siebel – Automatic User Logout
  • Nishant Gupta on Siebel – Installer hangs midway
  • Nitin Jain on Siebel Sales Wireless on Google Android
  • Sagar on Siebel Sales Wireless on Google Android
  • Nitin Jain on Siebel – Installer hangs midway
  • Thankful on Siebel – Installer hangs midway
  • Thota on Siebel EIM – Custom table mapping
  • Nitin Jain on Siebel – Upgrade Process – Part II
  • a siebel guy on Siebel – Upgrade Process – Part II

Most Commented

  • Siebel - SIA BC Utility Service - Loop multiple records
  • Siebel - Installer hangs midway
  • Siebel - Adding License Keys to Sample
  • Siebel - Popup Update Only
  • Siebel - Reading data directly from Siebel SRF
  • Siebel - EAI Queue - Usage
  • Siebel - Looping multiple records - Update records
  • Siebel - Automatic User Logout
  • Siebel - SIS OM PMT Service
  • Siebel Tools hangs when checking out objects

Old Favourites

  • Highrise Customer Relationship Management
  • Siebel - Autosave Opportunity data - Sample Code
  • Siebel - Autosave Opportunity data - The concept
  • Renuka Ankam
  • Siebel - Merge Records - Checklist
  • Siebel - Fetch Active view properties - III
  • Oracle 11g Certification coming soon
  • Siebel - Fetch Active view properties - II
  • Siebel - Fetch Active view properties
  • Siebel - Automating Merge Records by script - II

If you also want to write on GeeksBlogging@dotCOM, click here. Area of Specialization no constraint. Become Famous!


Entries (RSS) and Comments (RSS).