-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
8Questions
-
3Replies
"managed installed class cannot be saved" on Unlocked packeg
Hello
I am adopting sfdx. And development was quite easy and straightforward. But the problem take it place when I've started to use packages. A version and package itself are both created successfully as well as deployed and executed. But I'm not able to make any change in my production org even though the package's type is Unlocked. An error message saying me that "managed installed class cannot be saved"
So..What's my problem and what's my option to do here?
-
- beingofhabits
- November 22, 2018
- Like
- 0
- Continue reading or reply
Map of aggregated by 2 fields result
So, we are able to do something like this
Map<String, AggregateResult> aggregations = new Map<String, AggregateResult> ([SELECT Status Id, COUNT(Id)QTY FROM Case GROUP BY Status ]);But is there any options to do the same with at least 2 aggregated and grouped fields?
I mean something like the following
Map<String, Map<String,AggregateResult>> aggregations = new Map<String, Map<String, AggregateResult>> ([SELECT Status Id, Department__c dId, COUNT(Id)QTY FROM Case GROUP BYStatus, Department__c ]);And if not, is the manually written parser the only solution?
Have a nice day!
-
- beingofhabits
- October 26, 2018
- Like
- 0
- Continue reading or reply
Delete Custom metadata type record using tooling api
So, as Salesforce doesn't provide us with any way to delete custom metadata type record via Metadata API, am I able to delete it by Tooling, REST or Soap APIs? If so, I please you to provide me with links or code samples
Have a nice day
-
- beingofhabits
- October 24, 2018
- Like
- 0
- Continue reading or reply
Unable to edit record via lightning:recordForm
G'day
I have 2 picklists values on my custom object with filed dependency. So, I have to create a component to contain info about its record without "master" of the dependency. I've decided to use lightning:recordForm, but the problem is that I can't change its value without placing "master" field. So, is this any workaround? Like as prepopulating the field? Or it's better to use recordEditForm and recordViewForm both?
-
- beingofhabits
- October 10, 2018
- Like
- 0
- Continue reading or reply
Am I able to create custom picklist similar to Opportynity's stage?
I want to use <lightning:recordEditForm/> with communities to avoid all that crazy logic with field dependencies. But, as I understand, guest user has no way to see those inputFields (or he does?). So.. I've decided to try to use something like a stage on an opportunity object with several data per picklist row. And I know that it's configured in the 'Sales Processes' tab, but may I use my own values like that?
Best regards and good day
-
- beingofhabits
- October 02, 2018
- Like
- 0
- Continue reading or reply
How to find required inputs on the component?
Array.from(document.querySelectorAll('[required]'))
but it returns an empty array insted. Is there any beautiful solution, 'cause the only one I think about right now, is to use html classes and it seems to be a bad idea.
Any ideas, please
-
- beingofhabits
- July 25, 2018
- Like
- 0
- Continue reading or reply
How to apply css to headers of a lightning:datatable?
First:
component.set("v.columns",[ {label:'', fieldName:'edit', type:'action', class: 'cols', cellAttributes: { iconName: { fieldName: 'utility:custom_apps' }}}, ... ]);Second:
<lightning:datatable data="{! v.data }" class="cols" columns="{! v.columns }" keyField="id" resizeColumnDisabled="true" hideCheckboxColumn="true"/> </lightning:card>
But neither of it works. Is it possible at all?
If needed, I here is my CSS as well
.THIS .cols { background-color: #16325c; color: white; }
-
- beingofhabits
- July 09, 2018
- Like
- 0
- Continue reading or reply
Build Reusable Lightning Component. This App can't be installed
Hi! Attempting to solve this trailhead project, but the following error was received.
Can you help me, please?
-
- beingofhabits
- June 23, 2018
- Like
- 0
- Continue reading or reply
"managed installed class cannot be saved" on Unlocked packeg
Hello
I am adopting sfdx. And development was quite easy and straightforward. But the problem take it place when I've started to use packages. A version and package itself are both created successfully as well as deployed and executed. But I'm not able to make any change in my production org even though the package's type is Unlocked. An error message saying me that "managed installed class cannot be saved"
So..What's my problem and what's my option to do here?
- beingofhabits
- November 22, 2018
- Like
- 0
- Continue reading or reply
Build Reusable Lightning Component. This App can't be installed
Hi! Attempting to solve this trailhead project, but the following error was received.
Can you help me, please?
- beingofhabits
- June 23, 2018
- Like
- 0
- Continue reading or reply