Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solve] Validation with Business Map
#1
I did try understand how I can implement,  this important resource in coreBOS.

I try created 4 business map in demo online, at leads module

1) Checked a pick list not use a default value

<map>
 <originmodule>
   <originname>leads</originname>
 </originmodule>
 <fields>
   <field>
     <fieldname>leadsource</fieldname>
     <validations>
       <validation>
         <rule>notIn</rule>
         <restrictions>
         <restriction>--None--</restriction>
         </restrictions>
       </validation>
     </validations>
   </field>
</map>

2) Checked a phone number is only numeric

<map>
 <originmodule>
   <originname>leads</originname>
 </originmodule>
 <fields>
   <field>
     <fieldname>phone</fieldname>
     <validations>
       <validation>
         <rule>numeric</rule>
         <restrictions>
         <restriction></restriction>
         </restrictions>
       </validation>
     </validations>
   </field>
</map>

3) Checked a new date field, is after a date of modified

<map>
 <originmodule>
   <originname>leads</originname>
 </originmodule>
 <fields>
   <field>
     <fieldname>cf_846</fieldname>
     <validations>
       <validation>
         <rule>dateAfter</rule>
         <restrictions>
         <restriction>{{modifiedtime}}</restriction>
         </restrictions>
       </validation>
     </validations>
   </field>
</map>

4) Checked is a new custom field, not duplicated in data base

<map>
 <originmodule>
   <originname>leads</originname>
 </originmodule>
 <fields>
   <field>
     <fieldname>cf_847</fieldname>
     <validations>
       <validation>
         <rule>notDuplicate</rule>
         <restrictions>
         <restriction></restriction>
         </restrictions>
       </validation>
     </validations>
   </field>
</map>

But not working.

I did try read documentation again, and duplicated a demo business map, but not successful.

What I do wrong?
Ranieri
eCRM Web
Reply


Messages In This Thread
[solve] Validation with Business Map - rslemer - 02-12-2018, 07:01 PM
RE: Validation with Business Map - rslemer - 02-12-2018, 11:11 PM
RE: Validation with Business Map - rslemer - 02-13-2018, 12:05 AM
RE: Validation with Business Map - rslemer - 02-13-2018, 11:47 AM
RE: Validation with Business Map - rslemer - 02-13-2018, 03:12 PM
RE: Validation with Business Map - rslemer - 02-20-2018, 07:35 PM
RE: Validation with Business Map - rslemer - 02-21-2018, 12:48 AM
RE: Validation with Business Map - rslemer - 02-21-2018, 10:41 AM
RE: Validation with Business Map - rslemer - 02-21-2018, 11:55 AM
RE: Validation with Business Map - rslemer - 02-22-2018, 06:09 PM
RE: Validation with Business Map - rslemer - 02-22-2018, 08:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)