SAP UI5 CDS Annotation, set search filter label - sapui5

I'm new to SAP and UI5. I have created a table in SE11 and created a CDS view in eclipse ABAP perspective. And I've create a template project in my SAP Web Ide.
I want to change the display label of a selection field. It currenty show the name I've given by for the table column data type. Ex:. For factoryId column I've given the data type named FactoryCode. It shows the FactoryCode label in the selection field. I want to change it to "Factory".
I've used UI.lineItem.label annotation, but it only changed the grid column name only. How to change the filter label?

Try this annotation #EndUserText.label: 'Factory'.

Related

Oracle Apex 5.1: Interactive Grid Target Specific Cell

I'm working on interactive grid in Oracle Apex 5.1. My problem is: How can I target a specific cell of their grid (not the column), using JQuery, in order to change some properties like readonly or other?
I found some (maybe weired) kind of workaround:
In PageDesigner add every Column a unique class.
Use javascript to get the record(the row) you want to change. form the record get the unique RecordID.
Then combine both in a jquery selector to get the cell
$("[data-id='AAE6TDAAFAAPTP1AAd'] .GRUND_INFRA").addClass("is-readonly")
with "AAE6TDAAFAAPTP1AAd" as the RecordID and "GRUND_INFRA" as the ClassId of the Column

How to access External Data using field's custom formula

In order to reference a page's shapedata sheet, I use the =ThePage!Prop.[name] custom formula. What would be the equivalent to access external data?
When you drop row from External Data Window to your shape Visio application engine automatically create from this shape group and add into this group few shapes (text callouts)
Also Visio add to this text callouts user-defined cells and fill these cells data from row of External Data Window.

Is it possible to modify parts of the form based on one of the field of the form?

I am using the Formula package from the Iliad web framework in Pharo. I have a model object which have a first attribute and then one to three other attributes depending of the value of the first one.
I built a form with ILFormula but couldn't find methods in Formula to change the displayed input based on changed value on the first field.
So I believe I need to add an event on the first field and do it directly but I am not sure where to begin to that within the Iliad framework.

Cannot see records in form bounded to table in Access

I have a form and it's record source is a table. I created the form separately and added the control sources to the different fields in the form and also changed it's record source. I imported values from an excel sheet into the table and when I open the form, I do not see the tabe values being displayed in the form. Any idea what I should do to see the table records in the form?
In form design mode, check the form's DataEntry property. It sounds like yours is set to Yes, which hides existing records and only allows new entries. Change it to No and you will see the existing records.
Another possibility is that a filter is active and no records match that filter.
Use a form wizard to generate a working form based on your table. Then once you can see the data being displayed in the form, customise as needed.

In SharePoint How to create a form that changes based on a drop down selection

I need to create a dynamic form/workflow in SharePoint. What I am trying to do is create a form that has a drop-down selector with 2 options Projects and Proposals. Depending on which of those two the submitter chooses the form will change which fields are displayed in the form below them.
The goal is the have the form populate 1 list and just populate different fields depending on the form type chosen.
Is this easily doable?
Our SharePoint environment is being provided by Microsoft's Office365 solution.
Did you try Content Types ? You'll not get drop-down (however I've seen drop-down for document libraries with content types), but you can achieve your target: when creating new item you can select which type of item to create (Project or Proposal) and when you'll get fields according to that content type. All data will be stored in the same table.