Protected Custom Setting not available in lightning Component - salesforce

I have created a package where I am using some protected custom setting to store credentials etc. I don't want admins to change or see any information from UI so I have created a lighting component to enable change to some fields.
When testing the app in packaging org everything is working as expected but I am getting below error in subscriber org where the app is deployed/installed. .
org.auraframework.throwable.quickfix.InvalidDefinitionException: Invalid
definition for <namespace>:<namespace>__<Custom_Settings__c>: null

I have fixed the issue by using wrapper classes. somehow the salesforce known issue is not fixed.

Related

How can I resolve vex-react-template-admin template default application

I want to use calendar application but I cannot resolve some directories that maps to pages and redux store
Error
./src/redux/reducers/rootReducer.js
Module not found: Can't resolve '#src/views/apps/calendar/store/reducer' in '/Volumes/D/Innoways/Coding/calendar/src/redux/reducers'
what I need todo includes
Using redux store for calendar application
Running calendar application from this Template
I am using Vuex react-admin template
It was path issue yet I solved by changing #src/views/apps/calendar/store/reducerto #src/views/calendar/store/reducer
so far I can access redux store with no worry

Using abp-page-toolbar and abp-extensible-table

I am trying to use both components in my angular application. I am a backend developper and absolutely newbie in angular. I have been reading the roles and users components in the source code and I think I cloned it for my Customers component. I have guards, defaults and all the code like Roles and Users but, although the code compiles and the API call is done, I have nothing in the screen, only the Total records are displayed. No action buttons, no table rows, no pagination...
Is there anyone who has use these components and can bring me some help?
Many thanks
Those components are needed for customizing built-in modules. Let's talk about Users for example. The Users component is a built-in page and you do not have access to its code. However, you may still need to make some changes like adding a New User button on the toolbar or changing its columns, form fields etc. That's why ABP Framework provides some injection tokens to override/extend/customize these features. Since you are developing your own page, you do not need any of this. You can directly use ngx-datatable in your own component, add or remove columns and so on.

What is "YOUR_APP_PACKAGE_NAME" for Android in React Native Auth0?

I'm following these instructions on how to add Auth0 to my React Native app, and in the section about Android callbacks it refers to a property called "YOUR_APP_PACKAGE_NAME". Does anyone know what that is or where to find it?
I found this by googleing:
The package name is a unique name to identify a specific app. Generally, the package name of an app is in the format domain.company.application, but it’s completely up to the app’s developer to choose the name. The domain portion is the domain extension, like com or org, used by the developer of the app.
http://www.aftvnews.com/how-to-determine-the-package-name-of-an-android-app/#targetText=The%20package%20name%20is%20a,the%20developer%20of%20the%20app.

Create an extensible architecture with React

My team is creating the administration panel of a CMS using React, Typescript, TSX and Webpack. Each page of the administration panel has been created as a React component, and each page contains many other child components (one for each section).
The CMS distribution currently includes a bundled version of the javascript needed to run the web app, but not the original TSX files.
Now, we would like to make it possible to the developers using our CMS to extend the web app by
1) Injecting additional sections into the UI using a "slot-fill" approach
2) Possibly even overriding the existing sections rendering a different component in the same place.
<div>
<SidebarComponent />
<Section1Component />
<Section2Component />
// How to inject a possible PluginComponent here?
</div>
From the research we've conducted so far, there seem to be no "official" way to do this, so I'm wondering what would be the best approach in this case.
I am facing the same issue where I need a component from a plugin to interact with a component from another plugin with a hook system. I have a created a small codesanbox with the same approach adapted to your need.
Basically the approach is to create a injectedComponents.js at the root of your plugin that specifies in which plugin and area your component needs to be injected.
Here is ademo
single-spa has some good options in order to achieve this.
Please see if it can be help for you.
Microfrontends
Parcels
I am late to this but
Just create a utility class with registry function, and register each component to the registry (just dictionary of key value pair, where key is a constant and Value is the component). T
Then when you display a component in your base app, get it from the registry using a key. Then once you publish this whole base app as package ( make sure to export the utility registry). A user can register a component with the same name and override the default component.
For communication between totally independant components, you can use and EventEmitter

Angular.js app with Salesforce platform

I need to create a event app in angular and node.js with login functionality as normal user and salerforce user . How can I create it ? Also I need to manage event on salesforce and update and delete from thre UI .
I want to understand how to create a custom app in angular and how to fetch data from salesforce ? Also how to manage that data on salesforce . I have gone through lot of documents and videos but couldn`t understand how exactly salesforce help me to build my app and can be integrated with it .
Any help appreciated .
If you decide you want to use Angular 2 I have created a boilerplate for getting started. Allows you to develop your application completely locally and deploy to Salesforce only when you want to. https://github.com/iDev0urer/salesforce-angular2-boilerplate
Check out this Node + Salesforce REST quick start: https://www.jamesward.com/2016/01/13/salesforce-rest-apis-from-zero-to-cloud-to-local-dev-in-minutes
That example doesn't use Angular but you could easily add it in. Also check out: http://coenraets.org/blog/2015/12/angular2-rest-salesforce/

Resources