• PKDevGuy
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Got the Partner Portal up and running. I started playing around and was able to customize basic items so I dug a little deeper and created a new tab for cases. Posted the following code in the config.properties file:

#Case related views
view.case.0.name=My Cases
view.case.0=select id,CaseNumber,CreatedDate,ClosedDate
From Case
OrderBy CreatedDate DESC

This is giving me the following out of bounds error:
---------------
javax.servlet.ServletException: String index out of range: -8
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
---------------
I can strip the code down a little and get a -1 instead of -8 but I must be doing something basic incorrect. Any thoughts?

Duane
PKWARE, Inc.

We just got the Partner Portal set up for the first time.  I have been scanning the posts and was just looking for any general feedback on tips and hints or gotcha's to look out for. 

We are prototyping the system for a demonstration to our channel managers.  I want to keep the interface as simple and clean as possible mainly allowing for lead access and conversion to opportunities. 

From the looks of it we will need to modify both our account, contact, and lead sharing models to allow limited access and create new record types.

Thanks,

Duane

Hi,
 
Please can someone see where this query is going wrong.  I can't seem to return anything although the code is not complaining either.
 
var test = sforceClient.search("FIND {447787502823} IN ALL FIELDS RETURNING Contact (FirstName, Id, LastName)")
         FirstName = "";
        //password = "";
        if (test.className == "SearchResult")
        {
                FirstName = test.records[0].get("FirstName__c");
        }
       alert(FirstName);
  
 
Also tried this on IN PHONE FIELDS BUT neither query returned anything or complained about the code????
 
HELP??? thanks
07-12-2006 02:21 AM
Does any one know what this means?

Message Edited by Maxxum on 08-22-2005 08:21 AM

  • August 22, 2005
  • Like
  • 0
Got the Partner Portal up and running. I started playing around and was able to customize basic items so I dug a little deeper and created a new tab for cases. Posted the following code in the config.properties file:

#Case related views
view.case.0.name=My Cases
view.case.0=select id,CaseNumber,CreatedDate,ClosedDate
From Case
OrderBy CreatedDate DESC

This is giving me the following out of bounds error:
---------------
javax.servlet.ServletException: String index out of range: -8
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
---------------
I can strip the code down a little and get a -1 instead of -8 but I must be doing something basic incorrect. Any thoughts?

Duane
PKWARE, Inc.