• Nikki_tcs
  • NEWBIE
  • 25 Points
  • Member since 2010

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

Hi,

 

Now that we are kind of done with our site on our sandbox. We would want to move it to production now. What are the steps that i need to follow to put my site from sanbox into production? Any documents on it or steps are welcome.

 

Thanks

  • January 08, 2010
  • Like
  • 0

Hi,

 

I would like to display the detailed content in the new tab when user clicks on the title. What is that i have to include in the visualforce code, so that the content just open up in a new tab or window. Currently i have the following code which open the content in the same page / tab.

 

 

<apex:actionFunction action="{!loadSimilar}" name="javascriptLoadSimilar" rerender="similarResults" />

<apex:outputPanel layout="none" rendered="{!hasSimilarCnt}">
Possibly similar Cnt:
<apex:dataList value="{!similarCnt}" var="similarCnt">
									<ideas:detailOutputLink page="{!empPage}" Id="{!similarCnt.id}">{!similarCnt.title}</ideas:detailOutputLink>
</apex:dataList>
</apex:outputPanel>

 

 

 Thanks,

   Nik

Hi,

 

I have a ideas site, and i would like to display a custom text field (Test_Tags__c) which i created in salesforce on the site. 

 

Here is my apex controller for this particular peace.

 

 

 public static string TestTeg()
    {
      
        idea myidea = [select Test_Tags__c,Id from idea where Status <> null];
        return myidea.Test_Tags__c ;
    }     

 

 public static string TestTeg()    {            

 idea myidea = [select Test_Tags__c,Id from idea where Status <> null];      

 return myidea.Test_Tags__c ;  

 }     

 

The above query returns the expected text output in eclipse.

 

Now i am just trying to display the above returned output on the site using my visualforce page, and in my visualforce page i wrote, (apart from rest of the page)

 

Test Tags : {!TestTeg}

 

Now i see the Test Tags heading in my site, but it doesn't display the above returned output (from apex controller). How can i make the output appear on my site? What am i missing here?

 

Thanks.

 

 

Hi,

 

How can i sort the list of values (ascending /descending) using soql query? 

 

 

SELECT Id, CommentBody, CreatedById, createdBy.communityNickname, CreatedDate, IdeaId 
                                          FROM IdeaComment 
                                          WHERE IdeaId in :ideaIds
                                          AND createdById = :createdById];

 

Can anyone provide the syntax?

 

Thanks,

Nik 

Hi,

 

I have a site up and running, and i need to insert an image through an custom home page component. So i Uploaded my image in to static resource and i created a new html area custom component and am trying to display the image inside the custom component. I gave the code as 

<img src="https://na1.salesforce.com/resource/xxxxxxxxxxxxxxxx/Bulb"> . But its not appearing in my site, a blank box is appearing without image and rest of the html text is appearing as declared. Am i doing any flaw here? 

 

Thanks,

Nikki 

Hi,

 

I have a ideas site, and i would like to display a custom text field (Test_Tags__c) which i created in salesforce on the site. 

 

Here is my apex controller for this particular peace.

 

 

 public static string TestTeg()
    {
      
        idea myidea = [select Test_Tags__c,Id from idea where Status <> null];
        return myidea.Test_Tags__c ;
    }     

 

 public static string TestTeg()    {            

 idea myidea = [select Test_Tags__c,Id from idea where Status <> null];      

 return myidea.Test_Tags__c ;  

 }     

 

The above query returns the expected text output in eclipse.

 

Now i am just trying to display the above returned output on the site using my visualforce page, and in my visualforce page i wrote, (apart from rest of the page)

 

Test Tags : {!TestTeg}

 

Now i see the Test Tags heading in my site, but it doesn't display the above returned output (from apex controller). How can i make the output appear on my site? What am i missing here?

 

Thanks.

 

 

Hi Experts,

 

My application cannot login to the Saleseforce testing environment.
I was using the SOAP URL: https://test.salesforce.com/services/Soap/c/12.0

I have already append the security token at the end of the username. Do you know what's wrong with my account?

 

Here is a portion of the error message return from my application log:

[#|2010-04-13T14:31:40.788+0800|SEVERE|sun-appserver-pe9.0|cs|_ThreadID=25;_ThreadName=p: thread-pool-1; w: 7;_RequestID=80219e8d-85db-4eec-94a4-732b944df232;|ERR_CS_000: Undefined error!
com.fimat.clientservices.CSException: ERR_CS_000: Undefined error!
    at com.fimat.clientservices.app.mapper.ClientAccountMapper.<init>(ClientAccountMapper.java:152)
    at com.fimat.clientservices.scheduler.app.SalesforceAcctSyncSchedulerHelper.run(SalesforceAcctSyncSchedulerHelper.java:204)
    at com.fimat.clientservices.scheduler.app.processor.SchedulerProcessor.runScheduler(SchedulerProcessor.java:46)
    at com.fimat.clientservices.scheduler.app.manager.SchedulerManager.runScheduler(SchedulerManager.java:27)
    at com.fimat.clientservices.scheduler.app.ejb.session.CSSchedulerServiceBean.runScheduler(CSSchedulerServiceBean.java:132)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
    at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:2698)
    at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1387)
    at com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:86)
    at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1938)
    at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.service(EJBTimerService.java:1934)
    at com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:62)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
Caused by: com.fimat.clientservices.CSException: ERR_CS_000: Undefined error!
    at com.fimat.clientservices.app.gateway.SalesforceProxy.login(SalesforceProxy.java:97)
    at com.fimat.clientservices.app.mapper.ClientAccountMapper.<init>(ClientAccountMapper.java:139)
    ... 18 more
Caused by: INVALID_LOGIN: Invalid username, password, security token; or user locked out.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
    at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
    at com.sforce.soap.enterprise.fault.LoginFault.getDeserializer(LoginFault.java:83)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
    at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
    at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
    at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
    at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
    at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:3052)
    at com.fimat.clientservices.app.gateway.SalesforceProxy.login(SalesforceProxy.java:75)
    ... 19 more

 

Thanks in advance, Raven

  • April 15, 2010
  • Like
  • 0

Hi,

 

Now that we are kind of done with our site on our sandbox. We would want to move it to production now. What are the steps that i need to follow to put my site from sanbox into production? Any documents on it or steps are welcome.

 

Thanks

  • January 08, 2010
  • Like
  • 0