• yogeshwer
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
Let me explore that here i want to create a Managed Packaged for an app. I have a Custom object myCustomObject__c and if user Want to add some extra fields in the time of installation. User can Select the field which he want to show in this object. How can i achieve this functionality here we call migration tool Api or something like thing it is possible or not.

Thanks
I am Getting this error  when i setup it with force IDE(Eclipse)

Force.com projects require an organization with the Metadata API enabled.
API is not enabled for this organization or partner.


Is there any way to solve this ?

Hi all, please, help.

 

I need to use REST for creating new portal user
I use apigee.com.
I create class and GET works well, but I have problems with POST.

 

@RestResource(urlMapping='/WSPortalUser/*')
global with sharing class WSPortalUser{

    @HttpGet
    global static User doGet(){
        RestRequest req = RestContext.request;
        RestResponse res = RestContext.response;
        String userId = req.requestURI.substring(req.requestURI.lastIndexOf('/')+1);
        User result = [SELECT Id, Name FROM User WHERE Id = :userId];
        return result;
    }
  
    @HttpPost
    global static String doPost(String name){
    	return name;
    }
}

 GET:

https://na14.salesforce.com/services/apexrest/WSPortalUser/005i0000000M2lB

HTTP/1.1 200 OK
Date:
Thu, 13 Jun 2013 02:44:33 GMT
Content-Length:
144
Content-Type:
application/json;charset=UTF-8

{
  "attributes":  {
    "type": "User",
    "url": "/services/data/v24.0/sobjects/User/005i0000000M2lBAAS"
  },
  "Name": "Admin",
  "Id": "005i0000000M2lBAAS"
}

 POST:

https://na14.salesforce.com/services/apexrest/WSPortalUser?name=TestName

HTTP/1.1 400 Bad Request
Date:
Thu, 13 Jun 2013 02:53:18 GMT
Content-Length:
118
Content-Type:
application/json;charset=UTF-8

[
   {
    "message": "The HTTP entity body is required, but this request has no entity body.",
    "errorCode": "JSON_PARSER_ERROR"
  }
]

 What do I do wrong? Please, any ideas.

Have a customer that is swapping their SalesCloud licenses for Platform, and I need to mass update approx. 400 Users from License Type = Salesforce to = Salesforce Platform.  Anyone have a suggestion for me, as I can't get at the User License Type field via Data Loader nor is it exposed when I look at User via DemandTools.

 

UserType shows as "Standard" upon Extract for both a User with License Type = Salesforce and License Type =  Salesforce Platform.

 

Thanks,

Jeff