function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nilesh ManeNilesh Mane 

Generate Enterprise WSDL for all objects excluding one custom object



I want to generate an Enterprise WSDL file excluding one custom object.

We need to exclude one cutom object for security reason. Is there any way to do this?





no.. but u could edit the wsdl and remove that object

Richie DRichie D

Could you just create a profile for integration purposes and just remove the objects CRUD permissions? That way although the object structure would be known in the WSDL none of the data would be accessable by the client?


Just a thought...



Create a new profile and remove "read" access from the CRUD permissions.  Deleting if from the WSDL seems smart but it would still be fully accessible from, say, a REST describe call.  Or if someone reconstructed it in a WSDL.  

Alejandro RamirezAlejandro Ramirez
Hey, how do I know what are the object definitions in mi WSDL file so I can delete the code I don't need? I'm creating Enterprise WSDL but I just need Cases and Contract objects.