You need to sign in to do that
Don't have an account?
nobody
DML currently not allowed
Hi,
I am trying to insert a new entry in my database with the insert call. but I always get the
DML currently not allowed
message.
I just fill the customer object fields and call insert like following:
Custom__c custom=new Custom__c();
custom.name='blabla';
custom.value='blabla';
insert custom;
Does anyone knows how to solve this problem. Thanks in advance.
bye
{
String name;
String hello;
}
return 'PostXML_Ctrl';
}
{
{
{
String ents;
sobj=new SObject[1];
sobj[0]=post;
insert post;
//SaveResult[] res=binding.create(sobj);
return ents;
This is more of a visualforce specific issue so I will move this thread to that board.
Additionally, when using a component you must set allowDML to true: