How to update API Name of a Custom Label - salesforce

Need to update "API Name" of Custom Label but "Name" field of Custom Label is Read only on Edit!
There are too many Labels to be updated, Do I need to recreate all and delete earlier?
is there any way to modify/update API Name of a Custom Label ?

You are right, if you want to rename API names of these labels you need to delete and recreate them with correct names.

Related

Custom Filter control in data studio

This may be a simple answer , I have a report which has a table of data. One of the columns in the data set is a 'project'. I want to create filter that when clicked will remove any rows with an empty cell in the project column. I can create a filter for the project column but it gives me a list of all projects in data set to filter. I just want a simple Yes/No type filter or button to click to only show data where the project field is populated and then can click back to include all.
I dont want this be a page filter as I want the option for user to include or exclude.
Probably the easiest way is to create a custom dimension to include or exclude the empty projects
CASE
WHEN project IS NULL then "Blank Projects"
ELSE "Other Projects"
END
You could then use this as your filter by unticking the "Blank Projects" to exclude.

How to modify attribute table in QGIS

I'm trying to create a global map grouping countries by some criteria, in QGIS, I download one template with all countries, and I'm trying to update this dataset.
I opened attributes table --> edit -->add column, and after I choose the calculator opcion and I use if "id country" = "US" then 1, "id country" = "GB" then 2.... etc
and after I save this table, but when I try to close and open the same table I see that the changes are not saved, and I can't use after this.
Do you know how can I save this changes permanently to use this new column in categorizing by colors?
For add an new field in the attribute table you need .
select the layer
open/show the attribute table
active the editing for the table (pencil button left above on attibute
table)
Open the field calculator
Add the field you need and press ok when done
deactivate the editing for the table and save the changed layer
anyway you could remap the value for change color directly in layer properties changing the style as catogorized (in the layer style top combo) and adding a proper value mapping for each value in specificied section
I would recommend you to check this:
https://docs.qgis.org/2.18/en/docs/user_manual/working_with_vector/attribute_table.html
and jump to the section:
Introducing the attribute table interface
where you have all relevant icons explained.

JDeveloper and ADF view criteria

I am new to ADF and JDeveloper. I am trying to create a view criteria and query panel with table using JDEveloper 11g. Right now I am able to create the view criteria, but all my search fields are showing as plain text input boxes. I actually want one of them to be shown as drop down list and one to be shown as the "select many shuttle" component.
Can anyone tell me how it can be done using JDeveloper/ADF.
Did you define an LOV for the fields in the VO?
See if this video helps: Dependent LOVs in an af:query component
1)Create a LOV for that attribute
2)Ensure that in the control hints of the attribute , the control type is "choice list".
if you want a component as LOV then you have to create LOV on that attribute on ViewObject.
but you can not show shuttle in af:query component.
http://www.javadrive.co.in/shuttle_component_in_ADF.html
http://oracleadf-java.blogspot.in/2012/11/shuttle-component-in-oracle-adf-allow.html

Removing None Option in PickList visualforce apex

i have created an object with name PS_Detail__c .in this custom object i created a custom field .in this picklist i defined two values Dollar ,Unit.
when i go to P/S Detail Tab for creating a new PS_Detail__c object then i get None also as a value in picklist field .i want only Dollar and Unit as Picklist values .some one please help how to remove this None from Picklist !!
As you have discovered, you cannot make this picklist required at the object level. However, making this field required on the page layout will remove the -None- option from the available options.
To do this, edit the page layout on your object and select the wrench icon next to your field:
Then, you should be able to check the "Required" box in the dialogue box that pops up:

Change ADF Query Panel's Default Component

In my JSPX page, I created a search page by drag-n-dropping the View Criteria (VC) to the page. By default the component's are text box. What I want to do is change some of them to use other components, such as the selectOneChoice component, with binding from another Entity Object (EO), or maybe add a date picker to it.
Is this possible? Or do I have to stick with the defaults?
This is all stuff that can be done in your view object under Attributes. For date attributes, make sure that the type is set to date. I've'nt done this one but for the selectOneChoice component, I'm assuming you can define a list of values on the desired attribute that is based on another view object. Also look in the Control Type field of the Control Hints when you edit an attribute. If you are using bind variable with your search I believe you can define these properties there also.

Resources