Unable to deploy managed package because lightning component can't see Custom Settings

I have created a managed package which contains a lighting component which uses a Custom hierarchy Settings object.

You can see here that the Settings object is packaged. Unable to deploy managed package because lightning component can't see Custom Settings

It is referenced within the lightning component like

<aura:attribute name="settings" type="TestSettings__c"/> 

within the org, the component works without a hitch. But when I attempt to deploy this package in a sandbox org, I get an error which looks like this. (The namespace has been altered) Unable to deploy managed package because lightning component can't see Custom Settings

I am not quite sure why I am seeing this error.. and I can't find any posts of anyone else experiencing this problem.

Replay

I thinks the issue it due to the visibility of the custom setting in the subscriber org.

Try changing the Visibility of the custom setting to Public, it would solve the issue.

Category: lightning components Time: 2016-07-28 Views: 5

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 1.163 (s). 13 q(s)