• Cevichero
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 6
    Replies

Hi All,

 

I have a user loading CTI adapter and getting an error. He states:

 

We have installed the latest CTI  adapter for one user, when we enter the credentials on the CTI, it fails to log in and returns an error "Failure during CryptProv initialization".

 

Any ideas on this issue? CTI 4 btw

 

peace

 

 
 
Show Me How..
 
 
How Can We Assist You?
 
Please select the process you need help with:
  >How to Create a New Lead?     >How to Create a New Opportunity     >How to Add a Product to an Opportunity?     >How to Convert a Lead?     >How to Create a New Account?     >How to Create a New Task?     >How to Create a New Event?     >How to Customize My Tabs?     >How to Edit My Events?     >How to Clone a Lead?     >How to Merge Duplicate Accounts?     >How to Add a Contact to an Account?     >How to Mass Email?     >How to Build a Custom View?     >Home - Overview     >Tabs - Overview     >Tasks - Overview     >Leads - Overview     >Accounts - Overview     >Products - Overview  
 

I am currently hitting the limit for 100 SOQL queries. I have a method that takes a case ID and returns a boolean to indicate if the case has a public article attached or not. The problem is that I cannot see the way to have this method work in bulk, that meaning, taking a list or a set of case ids and returning a map of caseis and booleans. 

 

This is the code currently working for a single case (or for a small number of cases). I want to be able to call the getPubliArticles method like this:

 

 

map<Id, Boolean> caseArticlesmap = getPublicArticles(caseids); //so that then I can iterate over this map.

 

These are the methods tha I am currently using.

 

 

private List<KnowledgeArticleVersion> loadArticlesAttachedToCase(){
        List<KnowledgeArticleVersion> attachedArticles = new List<KnowledgeArticleVersion>();
       
        List<CaseArticle> caseAssociations = [
            select KnowledgeArticleId, ArticleLanguage
            from CaseArticle
            where CaseId =:CaseId];
       
        if (caseAssociations != null && caseAssociations.size() > 0){
            
            
            for (CaseArticle association : caseAssociations){
                String strKnowledgeArticleId = association.KnowledgeArticleId;
                String strArticleLanguage = association.ArticleLanguage;

                String aQry = 'select id, Title, KnowledgeArticleId, Language, UrlName '
                            + 'from KnowledgeArticleVersion '
                            + 'where KnowledgeArticleId = :strKnowledgeArticleId '
                            + 'and PublishStatus = \'Online\' '
                            + 'and Language = :strArticleLanguage '
                            + 'and IsVisibleInPKB = true '
                            + 'order by KnowledgeArticleId';
                            
                List<KnowledgeArticleVersion> kav = Database.query(aQry);
                if (kav.size() > 0) {
                    attachedArticles.add(kav[0]);
                }
            }
        }
        
        return attachedArticles;
    }

 

 

 

Thanks in advance! Any help will be greatly appreciated.

Hi -

I'm working in Professional Edition.  Is there a way to create seperate tabs inside of a custom object?  I am looking to have a "Questions" object but then inside of the Questions object, there will be seperate questions for each division. So each division would have their own tab. If this can't be done, does anyone have any suggestions of making this work?

Thanks!

Hi..

I want to export some standard field of account object using apex loader but its shows field does not exist.

Below is my SOQL

 

"select name,sic,sicdesc from account "

 

I am getting error "sicdesc field does not exist" from apex loader but its get successfully populate in developer consol.

I have checked name,sic and sicdesc all have same "view field accessibility" and "set field level security" but issue with SICDesc filed only.

Please suggest me what could be the issue.

 

Thanks in advance,

Nitin

Hi,

 

I need to construct a CSV file with APEX and am a bit new to this cloud computing.

Do you have any sample code I could get started with that, or a resources that you can point me to develop and generate a  CSV File to send through the Email??

 

Can this be achieved in salesforce by any Way?

Hi, we are currently in the process of migrating user guides that are currently authored and published using MadCap. The documents are published to WebHelp (XHTML) and PDF formats. We are trying to import the web documents into Knowledge, and for the most part the documents import fine. We have a couple of issues though that I am hoping to get help on.

 

The documents have internal links, which are relative to other documents ,either to different pages or within the same page. Whenever a document is imported, the relative links are removed. Any fully qualified URL's are kept intact but the target referenced is changed to open the document in a new window.  

 

My idea is to write a pre-import tool that will call an apex class to display the article (i.e. /apex/KAViewer?UrlName=URLNameTitle

where URLName is the value stored in the URLName field of the Article Type. However, how can we specify a relative link in the documents. If the path has to be fully qualified, we would run into a maintenance issue with making sure we are using the correct SFDC domain. Also, is there a way to not have the target change. Opening a new browser for each link would be a usability issue.

 

Has anyone come across this issue with relative links in documents?

 

Thanks,

 

Jim