• SDeo
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Hi,

 

I have made some changes in existing pages of Salesforce. Like i have added new section in account page and rendered my custom page into that.

 

Now while deploying in appexchange and making it available for installation what needs to be done? I know that we can package apex classes and custom pages. But how to do it for existing page changes?

 

Thanks,

Shardul

  • November 29, 2012
  • Like
  • 0

Hi,

 

I have created one table in salesforce in development environment and it will store some values based on the logged in user.

Now in my opinion each user who will install my application needs this table in his own salesforce environment.

 

How to do the table schema deployment while installing the app.?

 

Thanks,

Shardul

  • November 29, 2012
  • Like
  • 0

Hi,

 

I am trying to call infoconnect API through apex class and page. But its giving me error "Unsupported media type".

 

Following is my code :

 

Apex class code:

 

public class CalloutSample {  

   public String getData()  {

              Http http = new Http();     

              HttpRequest req = new HttpRequest();     

              req.setEndpoint('https://api.infoconnect.com/v1/companies/615869369?resourcetype=basic&apikey=f4702d2cfc7efcbda07160f3e89b4ea1');     

              req.setMethod('GET');        

              req.setTimeout(30000);            

              req.setHeader('Content-Type', 'application/json');                   

              HttpResponse res = http.send(req);                

              return res.getStatus();                

     }

}

 

Apex page code :

 

<apex:page controller="CalloutSample">      <apex:form >          <apex:outputLabel value="{!Data}" />:      </apex:form>   </apex:page>

The api url works fine when calling directly from browser.

 

Please help me out...

 

Thanks            

  • November 08, 2012
  • Like
  • 0

Hi,

 

I am trying to call infoconnect API through apex class and page. But its giving me error "Unsupported media type".

 

Following is my code :

 

Apex class code:

 

public class CalloutSample {   

   public String getData()  {

              Http http = new Http();      

              HttpRequest req = new HttpRequest();      

              req.setEndpoint('https://api.infoconnect.com/v1/companies/615869369?resourcetype=basic&apikey=f4702d2cfc7efcbda07160f3e89b4ea1');      

              req.setMethod('GET');         

              req.setTimeout(30000);             

              req.setHeader('Content-Type', 'application/json');                    

              HttpResponse res = http.send(req);                 

              return res.getStatus();                 

     }

}

 

Apex page code :

 

<apex:page controller="CalloutSample">
     <apex:form >
         <apex:outputLabel value="{!Data}" />:
     </apex:form>
  </apex:page>

The api url works fine when calling directly from browser.

 

Please help me out...

 

Thanks             

  • November 08, 2012
  • Like
  • 0