Skip to content

Ruby script to help translate non-packaged SFDC meta-data into a managed-package instance.

Notifications You must be signed in to change notification settings

jordanbaucke/sfdc-namespace-prefix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Quickly Add Namespace Prefixes to SFDC Meta-data Source-code

Namespace Prefixes are required for ALL managed packages on the SFDC platform.

All webservice package references must reference a namespace prefix for 
deployed code to correctly reference installed packages.

References to custom objects must reference a namespace prefix in API calls:

NSP1__MyCustomObject__c

Managed packages on the SFDC Platform cannot rename/remove member classes, 
custom objects, visualforce pages, etc. Therefore, a namingConventions.txt
file will also be run on each individaul file to help users develop a 
generic copy of the code in non-managed package developer orgs, to have
classnames and org methods updated.

Format of: namingConventions.txt 

OriginalNameString:PackagedNameString

Example:

OriginalNameString.cls --> PackagedNameString.cls

-and-

public OriginalNameString(){ //... } --> public PackageNameString(){ //... }

11/30/2011 - Created Github repo, started construction of methods.

Resources:
http://wiki.developerforce.com/page/Bestpractices:Continuous_Integration_Techniques

Background:
http://bracketlabs.com/blog/2011/7/25/salesforces-apex-namespace-requirement-creates-barrier-to-co.html

About:
@jordanbaucke
www.bracketlabs.com 

About

Ruby script to help translate non-packaged SFDC meta-data into a managed-package instance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages