205 questions
1 vote
1 answer
141 views
How to create custom fields in Standard Objects using Metadata API?
I am using metadata to create/add a custom field in a standard object (For now Account Object) in salesforce. Using metadata, I have no problem creating a custom object with custom fields on it. But ...
0 votes
2 answers
73 views
How to add a different named variable to a PSCustomObject in each loop of a for loop
I wish to add a set of differently named variables as properties to a PSCustomObject. I tried the below code, but when seeing the properties of $ExternalUserDetails, I just get the final match. I have ...
0 votes
0 answers
89 views
Autofilling Fields using Custom Objects
I have a custom object with the following fields in Zendesk: Charger ID (Key field) Station Name Country I also uploaded records from a database using an API connection into Zendesk where each ...
0 votes
1 answer
75 views
Unable To Reset Archer Record Permission Field using Custom Object
The code below works perfectly fine when setting the record permission field. But when resetting the selection from the cross reference, the record permission field gets cleared after clicking the ...
0 votes
0 answers
36 views
no attribute "get_shape" on custom objects in model
I am encountering an error when trying to load a Keras model with custom objects. The error message is: AttributeError: 'function' object has no attribute 'get_shape' This occurs in the following ...
0 votes
0 answers
343 views
How to hide values in a non dependent picklist
I have a 'non dependent' picklist where I want to hide certain values based on the year. The picklist has values from 2000 to 2030 but I want those values to be absent and only show 2023 in the ...
0 votes
1 answer
170 views
What kind of custom object in license platform pricing
I need to know whether a custom object is only a custom object(in classic menu > create > objects), or if it has custom metadata types and custom settings as well. This is because I need to use ...
0 votes
3 answers
173 views
Convert array into custom object with array items as key values
I'm kinda new to JS so I kinda got stuck with this what it seemed simple problem. I have to convert payload from: const payload = {left: ['name', 'phone'], right: ['address']} to: const payload = ...
2 votes
2 answers
831 views
Python Multiprocessing custom manager with associated objects
I'm trying to make a class object usable for multiple processes. Unfortunarely this seems to be more of an issue than I anticipated. I have the following class object: class BusObject: inputs: ...
0 votes
2 answers
1k views
Convert Output or Object in Array to Table Powershell
I created a custom object $customsa = New-Object -TypeName psobject $customsa | Add-Member -MemberType NoteProperty -Name Name -Value (Get-AzStorageAccount).StorageAccountName $customsa | Add-Member -...
1 vote
0 answers
510 views
Add custom objects to a keras model while building it
I would like to use a custom accuracy function. I would prefer to add the custom object to the model when creating it (not saving the model and loading it again to add the object). I first load the ...
0 votes
0 answers
90 views
How to get Custom objects working in a HTML-page
LS, In the documentation (https://firebase.google.com/docs/firestore/manage-data/add-data#custom_objects) it is said that u can use custom objects. They give an example, I have this question. I just ...
-2 votes
2 answers
134 views
Array of pointers holds the same value for all elements
I'm currently deep-diving into the way pointers work. Something for me unexplainable happened when executing the following lines of code: std::vector<OptimizerPlanOperatorPtr> sources; ...
0 votes
2 answers
1k views
How to initialise a custom object list in Powershell 5.1?
What I want to achieve: Create a list of files, show their name and version and sort alphabetically. My attempt: class File_Information { [ValidateNotNullOrEmpty()][string]$Name [...
0 votes
1 answer
799 views
My set of custom objects accepts duplicates (Kotlin)
I have a quick question about Sets and custom objects in Kotlin. I have a simple 3D Point class and I would like to have a set of these. class Point3D(val x: Int, val y: Int, val z: Int){ ...