I need to add a custom field to the standard salesforce account object when a user installs my SalesForce application (Managed) in his organization.
Is it possible to package such customization into a managed package and distribute? I'm unable to find any reference to such packaging in the documentation.
Any help/links would be appreciated!
From your managed package page:
Press the Add button under the Components tab.
Set the Component Type to Custom Field
Check the Checkbox next to your field
Press Add To Package
More details are available in the documentation under Adding Components to Your Package.
Note that once your managed package is released certain details will be locked down and can't be changed.
Go to Build-->Customize-->Account-->Fields
Scroll down to the Account Custom Fields and Relationships related list.
Click on the 'New' button and create a new field of the Account object.
Related
How to update the field label from apex class? I have a managed package and want to update the Label of the Package field from Apex class without using Translation Workbench in the subscriber org. Is there a way to achieve this?
The Label attribute of a Custom Field contained in a managed package is not subscriber-editable, which includes interventions made by Apex code running in a subscriber org. Note that Label is listed under Developer Editable, which means you can change the label in your managed package and ship the change in a new version, but cannot directly alter it in a subscriber org.
You won't be able to change the actual field label, so as far as I'm aware Translation Workbench will be your only recourse.
I added my customer attribute, and I want to display these fields as checkboxes in account information tab. I created checkbox in the frontend easily but the backend is not. Please help me. Thanks.
I don't know how do you have created this customer attribute but it seems that you didn't added the adminhtml_form.
If you want to edit a new customer attribute from the admin you must add the proper forms when creating the attribute: adminhtml_customer
Take a look here:
https://magento.stackexchange.com/questions/97018/adding-custom-customer-attribute-to-admin-panel/97023#97023
If the attribute is already created, you can edit this directly in DB in the table: customer_form_attribute and add adminhtml_customer to the attribute you created.
Regards
Anyone having idea about how to create Custom ListView on Standard Sobject, that can have both standard as well as custom fields.
Please share your knowledge.
Cheers!
Navigate to the tab for the custom object in you are in Classic salesforce click the "Create New View" link next to the list view droplist if in Lightning click the Cog to the right top of the UI then click the "New" menu option. Select the Standard and Custom fields that you want to appear in the list view, I believe up to 10 fields, and the criteria for the view and who can see the listview, then save.
You can create this via code using the metadata API. You would have to download one of the wsdl files, use the wsld to Apex generator to create a wrapper for it and use that to create a soap envelope with the request. It might be easier to use https://github.com/financialforcedev/apex-mdapi where he did the work already, see this posth
Seeking an example RedMine Plugin or tutorial to add a spinner control to the RedMine ISSUES UI page.
This has two parts: (1) adding the spinner control to the RedMine page UI and (2) adding a new column in the RedMine DB to store the spinner's input value.
http://www.redmine.org/ Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database. Redmine is open source and released under the terms of the GNU General Public License v2 (GPL).
I'm assuming you want something like this.
In your plugin, simply create a new custom field format (inherit from IntFormat which is defined in lib/redmine/field_format.rb) and override the edit_tag method to render your control.
Then in Redmine, with your plugin installed, you can just create a custom issue field using the newly defined format. This field will then be rendered the way you want. There is no need to patch Redmine's Views or add a new column to the database for this.
We need to add some custom profile properties to user accounts. So we have gone through Site Settings and added the Custom Profile Properties and made sure they are visible to all. What expect is that now a user can go to Edit Profile and those new custom profile properties can be set. It doesnt happen. What are we missing?
Depending on your version of DNN there are a few things that could be happening.
Be sure to clear the cache, and/or restart the application to ensure that the list is current
Check to see if your site is using anything for a custom profile module. (Either customized registration form via Admin -> Site Settings -> User Accounts or possibly using Dynamic Registration or otherwise.) If using a custom form you will need to update it as well