• Anurag Reddy Kanchimireddy
  • NEWBIE
  • 15 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 8
    Replies
for (String c: cID) {
           for (string s: lang) {
         
           List <Translated_CaseComment_Detail__c > css2 = [Select id, document_id__c
                From Translated_CaseComment_Detail__c
                Where Case_Id__c =:id
                and Locale_Code__c=: s
                and Workflow__c =: selectedworkflow
                and CommentId__c =: c
                and project_id__c=:strProjectId
                ];
                       
           if(css2.size() ==0) {
            // Updating records when "lang" not present for a particular "cID" 
                                    }
Can anyone please help me to bulkify this code. Im tired of doing this.
How to extract multiple IDs from an Email that is triggered by email service class. I'm able to fetch only one ID. Can anyone please help me in this?

Hi,

Im using nested loop for fetching case comments depending on the languages(its a list), To achieve this I have implemented nested Loop.
1st loop fetches all the languages from the custom object and 
2nd loop fetches case comments depending on the language.
While im using this  "Too many SOQL queries" is firing please suggest me solution.

 

Hi,

I have integrated Salesforce with 3rd party tool where it accepts basic authentication, For that, I have stored my credentials in custom settings and used from it.
I'm finding Named Crenedtial issue when I run PMD Code Analysis. Can anyone kindly say is that fine or should I implement Named Credentials?
Can anyone please help me to bulkify this code. Im tired of doing this.

Hi,

Im using nested loop for fetching case comments depending on the languages(its a list), To achieve this I have implemented nested Loop.
1st loop fetches all the languages from the custom object and 
2nd loop fetches case comments depending on the language.
While im using this  "Too many SOQL queries" is firing please suggest me solution.

 

I have approval process set up for knowledge validation adn publishing process.

But i want to restrict the visibilty of certain Validation Status value to the author of the article?

How can this be done?

Hi,

 

How to create custom object and custom object fields using Apex code.

 

Is this possible?

 

Thanks,

Yarram.

  • December 11, 2013
  • Like
  • 0

I have to work in Metadata API to customize my salesforce org through Apex.

 

I have generated WSDL for Metadata API as well as Enterprise

but when I am generating apex code for these WSDL it is showing errors to both the files

1. Enterprise WSDL - Apex Generation FailedUnsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType

2. MetaData API- "Apex Generation Failed Class name 'Metadata' already in use. Please edit WSDL to remove repeated names"  

 

For Enterprise error changing anyType to string couldn't solve my error.

 

Please assist me if any one have any idea to get rid of this issue.

 

Thanks in advance.

 

Regards,

Tushar Seth