• Ray Zhao 3
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 6
    Replies
https://......./apex/Article_Troubleshooting?id=kA4180000000014&navBack=H4sIAAAAAAAAAIuuVipVslLSjy_N1M_Oyy_PSU1JT9UHcrxhHI_83FT74tTEouQM2-CSxLQ07eTEopRiJR2lYqBGFGVAsWygWEFiempIZklOqlJtLADoz0E-YAAAAA&popup=false

Any one knows what that navBack parameter is?  How to decode it to the readable format?  I am almost sure it has the information of going back to the previous page, but not too sure how to use it.  Any help?  Thanks in advance!
 
My title is too long, and it runs off the page.  I used <apex:header  title="{!Troubleshooting__kav.title}" /> tag.  The title is a Text(255) field.  I need to make the title Wrap around 80 characters.  Tried a few things without success...   Any help is appreciated.  Thanks! ray
It's kinda like a counter on page visit.  I want to increment the counter only on user's first visit. 
If the user is reloading or refreshing the page, I don't want to increment the counter.  Any ideas?  Helps are greatly appreciated!
Thanks!
ray
Hi all,

I am working my way through the integration wookbook. The basic scenerio is, the application is written using spring mvc and hosted in heroku. One way integration from salesforce via REST API works fine. Now we want the app on heroku to integrate with salesforce an be able to update our data model. For this we need to enable OAuth so the heroku app can authenticate remotely before accessing data on Salesforce (Tutorial 3 in the wookbook).

At this step, I get the following error


org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 30 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 30; columnNumber: 16; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'fss:oauth'.

I have found a couple of resources online which try to explain this scenario and offer possible solutions 

http://stackoverflow.com/questions/8711186/the-matching-wildcard-is-strict-but-no-declaration-can-be-found-for-element-fs

There is this explaination and solution that makes absolute sense

https://github.com/forcedotcom/java-sdk/issues/31

Basically that the xsd file in which "fss:oauth" should be defined is missing which is true, because the xsi:schemaLocation in the application.xml http://media.developerforce.com/schema/force-springsecurity-1.3.xsd gives me this error.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>CD73BCF1560A19F3</RequestId>
<HostId>
4m6ilf2nj4XemWlWJBH5ZYh54tJkHN5LGJjhvKBAlouuz3eJQEorMf9RVje52h7agHRygeoPed0=
</HostId>
</Error>

This URL in the xsi:schemaLocation http://www.salesforce.com/schema/springsecurity also points to a path that is no longer available

I tried this xsd file http://force-spring.herokuapp.com/force-springsecurity-1.2.xsd hosted on git which seems to have the right definition for fss:oauth. But this didn't help.
I have tried all the other suggested workarounds such as modifying my pom.xml file and nothing has helped. I am stuck at this point. I even destroyed and recreated my project from scratch while trying various solutions and I get stuck at thesame spot.

I am not at all versed with the Spring MVC framework but I have read enough to understand what application.xml and pom.xml do. Any more insights on this issue will be highly appreciated.

Thanks
My title is too long, and it runs off the page.  I used <apex:header  title="{!Troubleshooting__kav.title}" /> tag.  The title is a Text(255) field.  I need to make the title Wrap around 80 characters.  Tried a few things without success...   Any help is appreciated.  Thanks! ray
Hello!, 

Everytime we want to save a cloned product this error appears, so we have to create the product from scratch, it is only when we clone the products that this error appears (It did not appear before). Does anyone has had this problem? If so could you fix it?. 
User-added image


Thanks!

Hello,

Can anyone tell me :

Am I missing something or it's not possible to create a lookup relationship to Articles ?

Thats something i definitely need.

So, at this point, should I create something like a String field on my Custom Object that will store the article id and make another SOQL query to fetch it every time additionally ?

 

Kind regards

  • September 20, 2011
  • Like
  • 1

Hi guys,

 

today I received a strange error message after trying to change the controller in the visualforce editor

 

Error: java.sql.SQLException: ORA-00001: unique constraint (CORE.AKAPEX_CLASS) violated ORA-06512: at "HAPPY.CAPEX", line 505 ORA-06512: at line 1 : {call cApex.update_class(?,?,?,?,?,?,?,?,?,?,?,?)})} 

 

 

and remebered about a Blog article on Wes's Blog about strange error messages where I found this

 

  

Error: java.sql.SQLException: ORA-00001: unique constraint (CORE.AKAPEX_CLASS) violated ORA-06512: at “SNEEZY.CAPEX”, line 505 ORA-06512: at line 1 : {call cApex.update_class(?,?,?,?,?,?,?,?,?,?,?,?)})} 

.

 

 

Looks like some SF guys are huge fans 'Snow White and the Seven Dwarfs' .

 

 

So the big question is, where are the others and of course where's Snow White?