• valMoto
  • NEWBIE
  • 50 Points
  • Member since 2008

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies

Not quite sure what I am missing, but I am getting an error :DML currently not allowed when I try to update the Case.

 

 

Anyone have any ideas? I get the DML error when i call update dupCases

 

here's a snippet of my code.

 

 

List<Case> dupCases = new List<Case>();

for(Case c : cases){
  if(c.Id != Master.Id){
    c.ParentId = Master.Id;
    dupCases.add(c);
  }
}

update dupCases;

 

 

I am trying to get an RSS feed/news to display on an Account object. Is this possible to display the google news based on the Account name?

 

Ideally I would like to add this to different standard and custom objects.

 

I could probably just include the link for example:

function getRecordIds(keyPrefix) { return [] }__sfdcSessionId = '00D70000000J4QN!AQ8AQHm3ysKom5WXr_Jj0fBZ7G2_H3kVmy7i4gkpgvVDnWSexr5Q8JpTqHED2RqTlbbmR08bmZHybezZBSRlueXlLzot46U9'http://news.google.com/news?pz=1&ned=us&hl=en&q=salesforces&output=rss

 

but i would prefer to display the actual news on my page layout.

 

thanks!

Wondering if anyone can provide me any clarification on how the search functionality may work since I seem to be getting unexpected results for a lookup field in an Account.

 

I have a custom Region object that contains values such a:

[1]: Midwest - Chicago

[1]: Midwest - Cleveland

[1]: Midwest - Detroit

[2]: South - Orlando

[2]: South - Atlanta

 

In my Account object, I have a lookup to this Region object.

 

Now the unexpected results I am getting are:

If I do a search on "1", I get results for all the Midwest regions.

If I search on "Chicago" I do not get any results

If I search on "*Chicago*", I get the results for the Midwest - Chicago entry

 

Why would a search on "1" return results, yet "Chicago" won't? In both cases they are not the first character.

 

Thanks!

I am trying to perform an Apex callout to our .Net webserivce. I would like to use the WSDL2APEX however, the button is not available when I go to Setup | Develop | Apex Classes. Is this only available on certain licenses (our license is currently Platform)? I did not see any documentation stating this. Am I missing something?

 

Worst case, I guess I will use HTTP services.

Having issues deploying some custom Apex classes to the Production environment. Everything works fine in the Sandbox, but in production it is unable to reference my Apex objects.
 
Here is some code snippets:
Trigger:
-----------------------------
Code:
trigger peptideTrend_tgr on Peptide__c (before insert, before update) {
    for (Peptide__c pep : Trigger.new) {
        if( pep.Sequence__c != null ) {
            PepTrender trender = new PepTrender(pep.Sequence__c);
        }
    }
}

 
My Apex object:
Code:
public class PepTrender {
    public PepTrender(String sequence) {
        mSequence = sequence;
        Cleavage = '';
        Purification = '';
        Synthesis = '';
        Init();
    }
    private void Init(){
        // Loop through all variations
        List<Variation__c> varsList = Helper.getAll();

}

 Helper class
Code:
public class Helper{

    public static List<Variation__c> getAll() {
        List<Variation__c> varsList= [SELECT Name, FilterType__c, Operator__c, Value__c FROM Variation__c];
        return varsList;
    }
}

 
The error I am getting is that my Helper.getAll() method does not exist or incorrect signature. I am using Eclipse to develop, run my test cases, and trying to deploy. My Apex class doesnt seem to be finding my Helper object for whatever reasons?
 
Thanks!
  • September 19, 2008
  • Like
  • 0

Not quite sure what I am missing, but I am getting an error :DML currently not allowed when I try to update the Case.

 

 

Anyone have any ideas? I get the DML error when i call update dupCases

 

here's a snippet of my code.

 

 

List<Case> dupCases = new List<Case>();

for(Case c : cases){
  if(c.Id != Master.Id){
    c.ParentId = Master.Id;
    dupCases.add(c);
  }
}

update dupCases;

 

 

Hello,

 

I'm making an integration with force.com account using Jitterbit integration software. I can succesfully create Accounts using Jitterbit, but when I try to do the same for a custom object I get the following error:

 

extract: Message: Unable to find a de-serializer for the type {urn:sobject.enterprise.soap.sforce.com}ID

 

Any help would be appreciated!

 

Failed to perform transformation using local source file: 'C:/WINDOWS/Temp/jitterbit/OpId_43_1e44b3f8-b95a-4afd-888f-1aa881fa1767/3_2009-06-24T10_03_09_411.xml'
The webservice call failed. Reported error: Failed to post the file "C:/WINDOWS/Temp/jitterbit/OpId_43_1e44b3f8-b95a-4afd-888f-1aa881fa1767/Create_Activity_Request.output_req.xml" to the web service at "https://na6-api.salesforce.com/services/Soap/c/16.0/00D80000000LzYT/0DF800000004U8X".
Reason: The server returned HTTP Status Code : 500 Internal Server Error
Error is: The server encountered an unexpected condition that prevented it from fulfilling the request.
Headers sent by the server:
HTTP/1.1 500 Internal Server Error
Server:
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 11 Aug 2009 09:07:47 GMT

The web service returned a SOAP Fault:
Code: soapenv:Client
Message: Unable to find a de-serializer for the type {urn:sobject.enterprise.soap.sforce.com}ID
The server returned the following headers:
HTTP/1.1 500 Internal Server Error
Server:
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 11 Aug 2009 09:07:47 GMT

[CODE:10721]

 

I am trying to get an RSS feed/news to display on an Account object. Is this possible to display the google news based on the Account name?

 

Ideally I would like to add this to different standard and custom objects.

 

I could probably just include the link for example:

function getRecordIds(keyPrefix) { return [] }__sfdcSessionId = '00D70000000J4QN!AQ8AQHm3ysKom5WXr_Jj0fBZ7G2_H3kVmy7i4gkpgvVDnWSexr5Q8JpTqHED2RqTlbbmR08bmZHybezZBSRlueXlLzot46U9'http://news.google.com/news?pz=1&ned=us&hl=en&q=salesforces&output=rss

 

but i would prefer to display the actual news on my page layout.

 

thanks!