• Vidys Sagar
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 0
    Replies
User-added image i need to create to page like this and i need to insert into a tab .can any one give a idea how to go through this
@RestResource(urlMapping='/getlogo/*')
Global with sharing class GetLogo {

    @HttpGet
    Global static String getCompanyLogo()
    {
        StaticResource sr = [SELECT Id, Body FROM StaticResource WHERE Name = 'DNOWLogo' LIMIT 1];
    String body = sr.Body.toString();
        return body;
    }
    
}
   global static SearchJSONclass doPost(String SearchValue,String SelectedCarrier,String ProNumber,String FromDate,String ToDate,String Offset)
    {
       
        String SearchText;
        if(!SearchValue.equals('') || !String.isEmpty(SearchValue))
        {
            SearchText = SearchValue;  
        }
        else
        {
            SearchText = 'SR';
        }
        
User-added image i need to create to page like this and i need to insert into a tab .can any one give a idea how to go through this