Although namespaces are not available for use in Apex code, they are used by the system to segregate components which are part of managed packages.

learn more… | top users | synonyms

0
votes
1answer
11 views

Migrate Datas to Salesforce Org without same namespace

I am using Jitterbit Harmony to migrate datas from one salesforce org to another org. Source org has no namespace but second one has namespaces(as xyz_customobject__c). In that situation, I must ...
1
vote
0answers
17 views

Aura event namespace lightning component package

I went through an example showing contact list search etc. In the SearchBarController.JS we have this line: var myEvent = $A.get("e.**namespace**:SearchKeyChange"); And this works fine where ...
3
votes
1answer
33 views

Get class' namespace prefix to use in a Ajax call

I'm trying to execute a class that comes in a managed package (I have a development and a deployment (sandbox) org that I'm testing this). I have a button in a Custom Object that calls a WebService. ...
2
votes
1answer
23 views

Get namespace prefix for a field

In a question I asked last week about getting namespaces, the best solution was to get information about the class (or any class) in the namespaced package. But this seems vulnerable if there are ...
2
votes
2answers
60 views

Apex: Getting namespace prefix

We have a scenario where we need to make assignments to fields using the method put(String, Object) Ref: ...
1
vote
2answers
44 views

How to Use Javascript Remoting Namespace From Managed Package

We have a managed package. In order to implement a sandbox / release management process for our application we have made all our code dynamic. We populate via a custom setting the name of the org's ...
1
vote
1answer
41 views

Specify namespace when creating components via Metadata API

My managed package creates custom fields and generates VF pages via Metadata API. Is there a way to create them under my package's namespace? (except for packaging those pages and fields:) At the ...
3
votes
1answer
29 views

Is it possible to have a namespace for a cluster of classes in Salesforce

I searched for namespace and package in Salesforce but did not find a way to use a namespace to package a cluster of classes without affecting others. Consequently, if we have a big project and wants ...
2
votes
1answer
73 views

Custom settings in subscriber's org not accessible by managed code

I am currently migrating to a managed package and I wish I could copy unmanaged [protected -- in case it matters] custom settings values to the managed ones in my post install script. However, I'm ...
3
votes
1answer
71 views

Impact of adding namespace on existing code

I am trying out few lightening stuff and as a part of that I added namespace to my Developer edition. After doing this I realized that all my preexisting custom object's API name is now prefixed with ...
1
vote
0answers
43 views

Dev on extension package against unmanaged version of base package

We are currently developing both an extension and base package. Currently, due to namespaces, we are forced to develop the extension package against a managed base package. When we have to change the ...
0
votes
0answers
215 views

How to generate an XML namespace prefix manually

I have created a class by using wsdl 2 apex and consuming a wsdl file provided by BizTalk. Previously I have consumed a similar .Net web services and have never ran into any issues. Now when the ...
0
votes
1answer
98 views

Deploy unmanaged package with Metadata API

I am trying to deploy an unmanaged package in a Metadata API zip file and access it via a namespace. My zip file has the structure: Test_Package/package.xml Test_Package/classes/ZZZ.cls ...
0
votes
0answers
42 views

weird behaviour on negative value in currentcy fields ( namespace issue? )

Salesforce currency field allow negative value input. When you are on the environment with namespace it will convert negative amount to number with brackets( exp. (11) ) however when you are working ...
4
votes
1answer
66 views

Are Force.com Platform limits, per org or per name space?

Within the Salesforce Governor Limits docs, there are many limits that operate at a platform or org level as opposed to at a transaction level. I understand the detail and working of these, but wanted ...
2
votes
1answer
139 views

Organization Namespace using REST API

I am using this query using REST API to get Apex Classes SELECT Id,Name,NamespacePrefix,Status FROM ApexClass. However this returns all my classes as well Manage package classes. How can I Identify ...
0
votes
0answers
12 views

Salesforce1 navigation stopped after adding namespace

Salesforce1 navigation has been stopped after adding namespace in org. Can anyone provide some details on it?
3
votes
2answers
138 views

How can I get organization's namespace prefix or at least ALL namespace prefixes including org through any API

How can I get organization's namespace prefix through API? This solution doesn't match because it's not supposed that I know anything about org classes. I understand that I can query ApexClasses ...
0
votes
0answers
26 views

Why can't I add a VF page to the “Feed View” of a feed-based layout in a packaging org?

I have created a feed-based layout in my dev org. This layout has a VF page as a custom component on the Feed View section of the layout. When I attempt to deploy it to the packaging org for our ...
5
votes
2answers
115 views

Use dynamic namespace references in Lightning Components

It was mentioned here at SFSE (and following the examples in the Lightning Developer Guide it seems to confirm) that right now hardcoded namespace references are quite common or even necessary. As far ...
2
votes
1answer
88 views

can we create namespace in enterprise edition? and how to create a tab for lightening app?

I have a basic questions that can we create namespace in enterprise edition? as i need to develop lightening components. as far as I know namespace are tied to managed package and it can be created ...
2
votes
1answer
54 views

Can I move this JavaScript function which VisualForce used out of the global namespace?

Currently looking at Refreshing Chart Data Using JavaScript Remoting Reading about JavaScript best practices, I came across the idea of keeping functions out of the global namespace, so I tried to ...
3
votes
2answers
167 views

Deploying via the Migration Tool With a Managed Package Failing Due to Namespace

I'm new to the Migration Tool and I'm having an issue deploying my managed package code to a developer org. The error I'm getting says: The specified package namespace: NAMESPACE does not match ...
2
votes
1answer
133 views

Button override from Visualforce Page in Managed Package to Visualforce Page in Default Namespace

Related to this post, Open a visualforce page from a managed package page: URL No Longer Exists. Has anyone tried to take this a step further? The following button is on a Visualforce page in a ...
12
votes
1answer
135 views

API 31.0 breaking change in namespaced Visualforce $Setup global

Has anyone encountered this problem when evaluating $Setup global variable in Visualforce? If, in an organization with a namespace prefix, I have a hierarchy Custom Setting like the following, it ...
3
votes
2answers
93 views

Is there a way to reference a custom settings via $Setup without the namespace for the fieldname?

Background: We develop a managed package and are auditing the code for hardcoded references to the namespace. We want to use static/resolved references of objects/fields/pages/custom settings instead ...
7
votes
2answers
939 views

SObject row was retrieved via SOQL without querying the requested field on managed package

So, we uploaded the managed package and installed it in a new org (as the clients would) but when accessing a vf page we get the error SObject row was retrieved via SOQL without querying the ...
4
votes
1answer
74 views

What is the correct way to resolve the namespace prefixed handle for an apex:chart?

The nearest parallel is RemoteAction methods. The difficulty is that it appears two ways in JavaScript: In a development org, the function is just available as MyController.getData In a managed ...
15
votes
3answers
2k views

Determining Namespace Prefix in JavaScript and Apex

When you have a dedicated Visualforce Page and can use modern JavaScript Remoting techniques, this is seldom an issue. But I'm looking at some historical code in a managed package like this: ...
1
vote
0answers
53 views

namespace problem migrating Reports & Dashboard

I have a problem moving Reports & Dashboard from my Dev Org to Production Org which has "Different Namespace". If deployed with eclipse it reports Error of namespace. Source Org:- DEV Org ...
11
votes
1answer
2k views

Getting “__r” relationship name from Schema.SObjectType.Fields

Say I have a master-detail relationship between two objects, Schematic__c and Part__c. I can SOQL query the master from the detail: [SELECT Schematic__r.Name FROM Part__c] If I'm building a query ...
1
vote
1answer
218 views

ref an Element in another Namespace using WSDL2Apex and SOAP API webservice call

I am trying to integrate with a web service which utilises two namespaces, and has elements which need to reference the other namespace. For example: <xsd:schema ...
3
votes
1answer
131 views

Why does my unpackaged Apex class have “packageVersions” XML tag and a namespace in IDE

ZenDesk is a third party customer support tool that integrates with Salesforce.Because they had a bug with their customizations, I wrote a scheduled class that went into their custom records after ...
6
votes
3answers
1k views

How to redirect to default namespace vf page from managed package vf page?

Question If I'm on a managed package page, how can I link to a visualforce page in the default namespace without hardcoding the instance? Background I'm building a skuid page that has a custom ...
2
votes
2answers
988 views

Create Unmanaged Package from an org with Managed package

I have one dev org from where I have created one Managed package. I want the same package created as UnManaged package. So I created the Unmanaged package from the same org. But when i try to install ...
1
vote
0answers
35 views

Not able to move class and Vf page in eclipes

I am trying to move files from salesfore 1 env to another env. I am trying to move files using eclipse. I have created and namesapace in salesforce env from where i am trying to move files. so when ...
1
vote
1answer
81 views

Salesforce Mobile Client Application Dealing with Package Namespace

We are releasing application through salesforce. The product contains two part, one is a salesforce application distributed in a managed package. The other part is a mobile piece using salesforce sdk ...
2
votes
1answer
421 views

Creating workflow for custom object throws namespace error

I am trying to create workflows for all the objects on an Enterprise type account(test org created via partner portal). Using the meta-data API I am fetching all the objects and there are some custom ...
6
votes
1answer
249 views

Controller using the wrong namespace - Managed Package

I am working on developing a managed package (Package A) that integrates with a another managed package downloaded form the AppExchange (Package B). By integrate I mean, creating VF pages with the ...
5
votes
1answer
158 views

Get Namepsace for code at runtime?

I am in an apex class. Is it possible to get the namespace for this class at runtime? Reason, I serialise a pile of objects to JSON and the namespace is pre-appended on all the attributes. I wish to ...
3
votes
1answer
1k views

Implementation restriction: EntitySubscription only allows security evaluation for non-admin users when LIMIT is specified and at most 1000

I incorporated Andrew Fawcett's amazing enterprise patterns (code here on GitHub) into my managed extension package (Namespace MY_PACKAGE_NS). In one of my CustomObjects after insert triggers I need ...
3
votes
1answer
106 views

How can my code tell if it's inside the packaging org?

I can think of at least three different 'environments' for my code: installed, in a customer org, unmanaged, in a cloned dev org, managed, in the packaging org, The first case can be covered by ...
10
votes
8answers
3k views

Does Schema.GetGlobalDescribe() Account for Prefixes?

It seems to me that in my dev org at least, the keys for the map returned by Schema.GetGlobalDescribe() do not use namespace prefixes... so does anybody know what happens when there are two objects ...
4
votes
2answers
1k views

Getting namespace prefix of an org

I have a dev org, in which I have got a namespace prefix. In apex, I want to get this namespace prefix as string. Is there any straight way or I have to describe some object?