Questions tagged [namespace]

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.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
3answers
573 views

referencing static resources in lightning components with dynamic namespaces

We have a lightning component thats part of our appexchange package. We have development environments with no namespace, a beta/staging package namespace, and our production package namespace. Is it ...
8
votes
0answers
85 views

QuickAction.DescribeQuickActions Broken In Managed Packages

QuickAction.DescribeQuickActions() will return different results when called from a managed package context and unmanaged code. For a given entity type, for example Contacts, you must call ...
4
votes
1answer
315 views

How to specify namespace and partition for Org Cache when creating managed package?

I'd like to make an ISV App / Managed package that uses the Platform Org Cache. The clearest directions on how to do this are described in this trailhead. However, when writing my code, I am unclear ...
4
votes
0answers
236 views

Unable to add namespaces to lightning component markup using MavensMate

I have enabled a namespace in my org, and am attempting to add markup to lightning components per the Namespace Usage Examples and Reference documentation. The component saves successfully in ...
3
votes
1answer
112 views

Visualforce Component wrapped in a Managed Package Visualforce Component throws the error: Unknown component c:mycomponent

I have a managed package installed in a subscriber org. The managed package contains a Visualforce Component that I want to use in subscriber org. My goal is to use a subscriber org VF component ...
3
votes
0answers
226 views

Can a managed package be managed through different licenses?

In the context of this question: Can two managed packages utilize common core libraries and other questions concerning managed packages and extensions... For any two apps that share a lot of code, ...
2
votes
0answers
18 views

Problem with object layouts and custom global actions in package (2GP)

So I'm trying to install a new 2GP package that has an object with a custom global action as part of it's page layout. I'm running into problems and I'm wondering whether I've missed something or if ...
2
votes
0answers
36 views

SFDX Snapshot - Unsupported snapshot signup request fields: Namespace

How to create a scratch org from a snapshot with namespace? Any workaround or solution? Error { "status": 1, "name": "INVALID_INPUT", "message": "Unsupported snapshot signup request fields: ...
2
votes
2answers
210 views

Proper namespace syntax for importing static resource into LWC?

I have a static resource named 'myResource' that contains a javascript file 'myfile.js' I can correctly import like this: import myResource from '@salesforce/resourceUrl/myResource'; Then when I ...
2
votes
0answers
62 views

sfdx force:source:deploy to a namespace org needs process builders to have namespace in all fields in xml file

I am trying to deploy a process builder from a packaging org to another org where the package is installed created out of same packaging org. sfdx force:source:deploy -m "Flow:Change_C1" -u sfdxmove ...
2
votes
0answers
90 views

Lightning recordData - Namespace in Managed Package

We are using lightning:recordData to create new records from a lightning component. In my dev org I can so something like: cmp.find("myRecordCreator").getNewRecord( "MyObject__c", // ...
2
votes
0answers
33 views

Using Packaging 2 can I reference a non namespaced field from a namespaced package

So, we're trying to convert out metadata into packages and namespaces, and it's proving to be difficult. Right now we have 2 different domains and we've created a namespace for each of those domains (...
2
votes
0answers
122 views

Flows issue when deployed to packaging dev org

I have a set of flows that I want to include in a managed package. The flows were built in a dev/scratch org with no namespace. After deploying (sfdx) to the packaging org with a namespace, I get an ...
2
votes
0answers
67 views

ApexPages Namespace -Prefixing discrepancy

Component, Message classes belong to ApexPages namespace, but for some reason the below is possible(without namespace prefix on the Component class). The below line does NOT compile if prefixed with ...
2
votes
0answers
81 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 ...
2
votes
1answer
794 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 ...
1
vote
0answers
19 views

Second Generation Unlocked Packages without Namespace not including components

I'm trying to create a package version for an Unlocked Package with no namespace specified. I can verify this works when running force:package:list and force:package:version:list. I'm including some ...
1
vote
1answer
119 views

Namespace Registries not showing up anywhere

I am an administrator and I cannot find this app anywhere to link a namespace in a developer org. Why does this seem so incredibly hard to do? All the examples that say create SalesforceDX permission ...
1
vote
0answers
221 views

Create a scratch org with a namespace, but without DX project structure

We are trying to use sfdx only to spin up scratch orgs with desired configuration (we have a standalone config file, scratch-org-def.json to feed to force:org:create command). Our project is in old ...
1
vote
1answer
155 views

Get remote action query results without namespace

I'm working in a managed package and I want to use the less references to the namespace (CI proposes ). For now I would like to know if it's possible to get records from my controller in my ...
1
vote
0answers
142 views

Package org adds namespace prefixes to $Setup and $Label references - sometimes

In order to establish separate developer orgs for package development, I'm removing namespace references from the code held by a package org. However after a Visualforce page is saved to the package ...
1
vote
0answers
49 views

Renaming Namespace for a Managed Beta package

I have a Managed Beta Package in Dev. Org. with a Namespace. How can I rename the Namespace in the same org. I'm trying to avoid opening a new Dev. Org and migrating components and code to the new ...
1
vote
0answers
271 views

No data produced from map, please check source profile and make sure it matches source data. NAmespace problem in wsdl link

I used wsdl link, salesforce triggering boomi and sending data. but it is showing error: "No data produced from map, please check source profile and make sure it matches source data." Initially it ...
1
vote
0answers
34 views

Metadata Namespacing rules in Branch Org

I am using the FinancialForce Apex bindings to access the Metadata API on one of my orgs. I attempt to create and a related list to one of the Opportunity layouts. This related list refers to other ...
1
vote
1answer
503 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 ...
1
vote
0answers
96 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 ...
1
vote
0answers
49 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 ...
0
votes
0answers
18 views

Failing this.template.querySelector

I have a component and am trying to retrieve an element from the template using querySelector, as follows: const elt = this.template.querySelector('.thunder-ng'); But instead of returning the element,...
0
votes
0answers
55 views

Manage package of einstein analytics assets give the issues with datasets connection

I created a simple analytics dashboard with two different lenses of the different dataset, I connect those datasets using https://help.salesforce.com/articleView?id=...
0
votes
0answers
41 views

Namespace Prefix Problem with Einstein Analytics Assets

Description : We created Einstein Analytics dataflows, datasets, dashboards and apps. It running Properly, for manage packaging I set namespace prefix in org after creating analytics assets. After ...
0
votes
0answers
61 views

Cannot create scratch with namespace

I've linked namespace, set up sfdx-project.json { "packageDirectories": [ { "path": "force-app", "default": true } ], "namespace": "vpv", "...
0
votes
1answer
23 views

Unable to find action 'getMenuRecords' on the controller. How can I apply my namespace(eioApp) to make this app work

Here is components to this app The App <aura:application extends="force:slds" > <c:listOfMenu /> </aura:application> Here is ListOfMenu Component <aura:component controller="...
0
votes
0answers
33 views

In an unlocked package with a namespace, do SOQL queries in apex methods automatically add the namespace when querying custom objects?

Let's say we have an unlocked package with a namespace of "xxx" which includes a class AirportUtils and a custom object named Airport__c. If I was writing a method in AirportUtils to query all ...
0
votes
1answer
155 views

force:recordData custom object and fields in managed package

We are using force:recordData to get a custom object record to the lightning component's JS like so: Component: <aura:attribute name="recordFields" type="Custom_Object__c"/> <aura:attribute ...
0
votes
0answers
53 views

avoid salesforce namespace dependency when packaging

I am trying to figure out a way to completely avoid appending namespace when deploying code to my packaging org. I have found options stated online that using custom settings,labels , querying ...
0
votes
1answer
577 views

Apex class with namespace deploy via Metadata API

I want to deploy using metadata API. I have class classes/MyPackage__UninstallClass.cls with MyPackage namespace classes/MyPackage2__UninstallClass.cls with MyPackage2 namespace. But when I try to ...
0
votes
1answer
179 views

Custom Label inconsistencies in Managed Packaged

We have two Orgs, DEV and SIT (SIT installed by managed package ), and both have namespaces. In SIT the dynamic reference to the custom labels do not work, but in the Dev org they work. Below is the ...
0
votes
0answers
463 views

Two different object with same API name, one is part of managed package. Getting collection store error

I have installed a managed package on my org. That managed package has an object with same API name as one of my custom objects. I have a trigger on my custom object where I query my object and assign ...
0
votes
0answers
118 views

Issue with Global Describe get vs containsKey when using namespace and Execute Anon vs Apex

Ok, so a different spin here to this: Issue with GlobalDescribe Field Results and Managed Package I do not think it should be doing this... When executing via the execute anonymous in dev console: ...
0
votes
1answer
40 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 ...
0
votes
0answers
2k 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
0answers
410 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 ...