• pkura
  • NEWBIE
  • 64 Points
  • Member since 2011
  • Solution Architect
  • Salesforce.com Inc


  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 39
    Replies

Hi,



I created two methods in this class but when saved generates this error message. "Save Error: Entity is not org-accessible"

 

Is a test method. I'm using isTest(SeeAllData=true) annotation.

 

So happens when I try to add two more methods class.

Anyone know what can be?

 

 

Regards,

 

Diego Moreira

Hello,

 

I have generated a WSDL from a class I have created. I can see the generated XML in the browser, and everything looks fine, but I am having trouble consuming the webservice with the URL I am using to view the XML. I have changed the URL to server specific as well, but still having issues, so like this:

 

https://cs12.salesforce.com/services/wsdl/class/WS_TEST_WSDL

 

But the result just redirects me to the login screen. Status says OK though.

 

Here is my XML I am sending to the URL above:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://soap.sforce.com/schemas/class/WS_TEST_WSDL">
<soapenv:Header>

<ws:SessionHeader>
<ws:sessionId>my token value from the login goes here</ws:sessionId>
</ws:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<ws:DescribeFields/>
</soapenv:Body>
</soapenv:Envelope>

 

Does this look correct?  Since Im passing the SessionID I would assume there is no need to login again?

 

Also, I shouldn't need to setup any kind of Remote Access as I do with a REST API, is this a correct assumption as well?

 

All input is appreciated. Thanks!

 

  • April 23, 2012
  • Like
  • 0

We use Ext JS 4.1.3 along with VF for our application. We added the chatter feed tag to a detail page that uses a standard controller.  The visual force page code is

<apex:page standardcontroller="MyCustomObject__c" sidebar="false" showHeader="false">
<chatter:feed entityId="{!MyCustomObject__c.Id}"></chatter:feed>
<apex:detail />
</apex:page>

Gone through the VF documentation and upgraded the API version for the page as well as its components to 27.0 to be in sync with documentation. (http://www.salesforce.com/us/developer/docs/pages/salesforce_pages_developers_guide.pdf).

The detail page content is loaded inside an Ext Js Panel (Simple panel with title) using Ext.Ajax.request() on button click. Noticed that the feed displays fine but none of the options are highlighted. I cannot post or share chatter feed etc. I get this exception whenever I click on Post on chatter feed section. 

  1. Uncaught ReferenceError: chatter is not defined (program):1
    1. onclick
      Using Ext.onReady(testPanel) to load this panel in my ext js file. Any pointers would be helpful.
  • March 04, 2013
  • Like
  • 0

We use Ext JS 4.1.3 along with VF for our application. We added the chatter feed tag to a detail page that uses a standard controller.  The visual force page code is

<apex:page standardcontroller="MyCustomObject__c" sidebar="false" showHeader="false">
<chatter:feed entityId="{!MyCustomObject__c.Id}"></chatter:feed>
<apex:detail />
</apex:page>

Gone through the VF documentation and upgraded the API version for the page as well as its components to 27.0 to be in sync with documentation. (http://www.salesforce.com/us/developer/docs/pages/salesforce_pages_developers_guide.pdf).

The detail page content is loaded inside an Ext Js Panel (Simple panel with title) using Ext.Ajax.request() on button click. Noticed that the feed displays fine but none of the options are highlighted. I cannot post or share chatter feed etc. I get this exception whenever I click on Post on chatter feed section. 

  1. Uncaught ReferenceError: chatter is not defined (program):1
    1. onclick
      Using Ext.onReady(testPanel) to load this panel in my ext js file. Any pointers would be helpful.
       
       
       

 

  • February 28, 2013
  • Like
  • 0

I've a visual force page that uses <apex:dataTable> component. The table is rendered fine when all the values of the columns are non empty. If the values in the columns are empty, the rendering is messed up on Firefox & IE. Chrome renders fine for empty column values too. Anybody had this issue before ?

 

 

  • June 06, 2012
  • Like
  • 0
I've a custom apex webservice that I would like to call. I generated the wsdl and the stubs using axis1.4 and was able to call the service. I would like to do the same with out using Axis. 1) Get the custom web service wsdl. 2) Generate stubs for custom webservice using wsdlc of wsc.jar. ConnectorConfig config = new ConnectorConfig(); config.setServiceEndpoint("https://test.salesforce.com/services/Soap/u/22.0"); config.setAuthEndpoint("https://test.salesforce.com/services/Soap/u/22.0"); config.setUserName("userName"); config.setPassword("password"); PartnerConnection connection = Connector.newConnection(config); config.setSessionId(connection.getSessionHeader().getSessionId()); System.out.println(config.getServiceEndpoint() + ":" + config.getSessionId()); ConnectorConfig soapConfig = new ConnectorConfig(); soapConfig.setSessionId(config.getSessionId()); soapConfig.setServiceEndpoint(config.getServiceEndpoint()); SoapConnection testConnection = new SoapConnection(soapConfig); testConnection.createAccount(accountData); I get the following error: com.sforce.ws.SoapFaultException: No operation available for request {http://soap.sforce.com/schemas/class/CreateAccount}createAccount at com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:205) at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:149) at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:98) at com.sforce.soap.LeadCapture.SoapConnection.createLead(SoapConnection.java:1) at com.salesforce.test.TestLCWithOutAxis.main(TestLCWithOutAxis.java:43) Any input is greatly appreciated. 
  • June 22, 2011
  • Like
  • 0

hello dear friends,

I had one jsp application, now i want to implement my application into SFDC, if its possible or not, i have jar file and api so any one have any idea just share with me.

 

Have a good day.

  • May 23, 2012
  • Like
  • 0

Hi,



I created two methods in this class but when saved generates this error message. "Save Error: Entity is not org-accessible"

 

Is a test method. I'm using isTest(SeeAllData=true) annotation.

 

So happens when I try to add two more methods class.

Anyone know what can be?

 

 

Regards,

 

Diego Moreira

Hi All,

 

I am trying to configure Eclipse "eclipse-SDK-3.7.2-win32" with Force.com IDE and getting the below error message.

 

"Installing Software" has encountered a problem.

 

An error occurred while collecting items to be installed.

 

Can come one help me finding a solution.

 

Regards,

Sri

Hello,

 

I have generated a WSDL from a class I have created. I can see the generated XML in the browser, and everything looks fine, but I am having trouble consuming the webservice with the URL I am using to view the XML. I have changed the URL to server specific as well, but still having issues, so like this:

 

https://cs12.salesforce.com/services/wsdl/class/WS_TEST_WSDL

 

But the result just redirects me to the login screen. Status says OK though.

 

Here is my XML I am sending to the URL above:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://soap.sforce.com/schemas/class/WS_TEST_WSDL">
<soapenv:Header>

<ws:SessionHeader>
<ws:sessionId>my token value from the login goes here</ws:sessionId>
</ws:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<ws:DescribeFields/>
</soapenv:Body>
</soapenv:Envelope>

 

Does this look correct?  Since Im passing the SessionID I would assume there is no need to login again?

 

Also, I shouldn't need to setup any kind of Remote Access as I do with a REST API, is this a correct assumption as well?

 

All input is appreciated. Thanks!

 

  • April 23, 2012
  • Like
  • 0

When i try to signup for database.com I keep getting a message that the request was denied and a Salesforce person will contact me shortly. that never happens of course so I emailed support and this is what they said:

 

We recently made a change to the way we offer developer support to our customers and are sorry for the impact this may be having on you. We now provide developer support only to our premier customers and partners. If you have a developer support question, are looking for technical documentation, best practices, code samples and other ways to speed your development time, we have great resources that you can leverage within the developer community at http://developer.force.com

 

That helped me none so i am coming here. Does anyone know how to signup for a database.com account? I just want to set up my own little database to test it out and learn.

 

Hi everyone,

 

I'm a Salesforce system administrator and I would like to login to the Web Services API on behalf of (ie: impersonate) a Salesforce user that is part of my company.

 

Can this be done ?

 

(I'm in fact looking for a feature similar to what Google Docs already provides: https://developers.google.com/google-apps/documents-list/#using_google_apps_administrative_access_to_impersonate_other_domain_users)

 

Thanks !

Hello,

 

How can I create a profile to manage only a few certain objects (ie: Quotes, Followup and Information request objects)?

I'm having a hard time to create a profile described above. I only want my super user to manage only the objects above. Please advice.

 

Thanks

Paul

 

  • March 08, 2012
  • Like
  • 0

Hi guys,

 

I am new to Salesforce and have been working on the customer portal.

I am struggling with something that should have been straight forward.

 

How can I restrict users from seeing custom object records which share the same account as them?

 

Example: We have a Settlement custom object. The org wide security default is Private. When these records are processed, they are owned by a "process queue" so sharing based on the owner is ruled out for now.

 

What I need to have is, If a settlement record's account is to Account A, customer portal users belonging to Account A should be able to see it.

 

Even Sharing rules don't help as the criteria does not even display Account and even if it did I cannot make this dynamic as the criteria can compare against only static values.

 

So what are the best practices around sharing of this nature? How is record level security achieved?

 

As of now I understand I might need apex sharing rules but I am trying to see if I am not missing something.

Hi.

What do you think it's the best approach/flow when you need to feed an extjs grid with json data ?

1) apex:repeat within js code.

2) to fetch json from another page ( I mean here that my extjs-grid url property value would be a visualforce page which would call a controller  )

3) other idea ?

 

Thanks in advance.