<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Using the Smart MultiInput Control on the Fiori Elements Object Page in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379927#M4633784</link>
    <description>&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;yes i solved it. &lt;/P&gt;&lt;P&gt;you have to make a 1..N composition in the root entity like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957525-2021-07-15-16-49-11-ucd.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;&lt;P&gt;and make an annotation with value like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957524-2021-07-15-16-40-31-ucd.png" /&gt;  &lt;IMG alt="" style="background-color: initial; color: inherit; font-size: 14px;" /&gt;&lt;/P&gt;&lt;P&gt;the result in the ADT:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957526-2021-07-15-16-51-24-app-vorschau-fur-fiori-element.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;Sebastian Sobierajski&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 14:52:55 GMT</pubDate>
    <dc:creator>SeSo_1</dc:creator>
    <dc:date>2021-07-15T14:52:55Z</dc:date>
    <item>
      <title>Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaq-p/12379922</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;
  &lt;P&gt;I am new to Fiori Elements and sadly our backend ABAP version doesn't support CDS views. So I am using SEGW based OData service with additional annotation file in UI project. I have a requirement to show smart multi input control for 'plant' field to capture multiple plants in an Object Page. &lt;/P&gt;
  &lt;P&gt;I checked the documentation for this but it seems uncomplete to me as it doesn't has any annotation or metadata sample code. Could some one please provide an example for this case or guide me a little further? &lt;STRONG&gt; &lt;/STRONG&gt;&lt;A href="https://ui5.sap.com/1.65.0/#/topic/04ff5b1a81344a8e8169ea99630ff4e5"&gt;https://ui5.sap.com/1.65.0/#/topic/04ff5b1a81344a8e8169ea99630ff4e5&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;So I have two entities 'Variant' and 'Plant'. Here Variant is the main entity which has a 'Plant' property and 'ToPlant' navigation property based on following association&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;Association Name="VariantToPlant" sap:content-version="1"&amp;gt;
    &amp;lt;End Type="ZTEST_EKANSH_SRV.Variant" Multiplicity="1" Role="FromRole_VariantToPlant" /&amp;gt;
    &amp;lt;End Type="ZTEST_EKANSH_SRV.Plant" Multiplicity="*" Role="ToRole_VariantToPlant" /&amp;gt;
    &amp;lt;ReferentialConstraint&amp;gt;
        &amp;lt;Principal Role="FromRole_VariantToPlant"&amp;gt;
            &amp;lt;PropertyRef Name="VariantId" /&amp;gt;
        &amp;lt;/Principal&amp;gt;
        &amp;lt;Dependent Role="ToRole_VariantToPlant"&amp;gt;
            &amp;lt;PropertyRef Name="VariantId" /&amp;gt;
        &amp;lt;/Dependent&amp;gt;
    &amp;lt;/ReferentialConstraint&amp;gt;
&amp;lt;/Association&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;'Plant' entity just has two properties 'PlantKey' and 'VariantId'.&lt;/P&gt;
  &lt;P&gt;The annotation for Plant field which I want to be as smart multi input field is as below (removed some extra fields):&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;Annotation Term="UI.FieldGroup" Qualifier="GeneralData"&amp;gt;
    &amp;lt;Record Type="UI.FieldGroupType"&amp;gt;
        &amp;lt;PropertyValue Property="Data"&amp;gt;
            &amp;lt;Collection&amp;gt;
                &amp;lt;Record Type="UI.DataField"&amp;gt;
                    &amp;lt;PropertyValue Property="Value" Path="Vendor" /&amp;gt;
                &amp;lt;/Record&amp;gt;
                &amp;lt;Record Type="UI.DataField"&amp;gt;
                    &amp;lt;PropertyValue Property="Value" Path="Plant" /&amp;gt;
                &amp;lt;/Record&amp;gt;
            &amp;lt;/Collection&amp;gt;
        &amp;lt;/PropertyValue&amp;gt;
    &amp;lt;/Record&amp;gt;
&amp;lt;/Annotation&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Based on this, currently it shows a normal smart field with only single select.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1872047-2021-01-07-13-01-35-apptitle.png" /&gt;&lt;/P&gt;
  &lt;P&gt;BR, Ekansh&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 10:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaq-p/12379922</guid>
      <dc:creator>EkanshCapgemini</dc:creator>
      <dc:date>2021-01-07T10:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379923#M4633780</link>
      <description>&lt;P&gt;Alright. I got it working with following changes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;changed the data field annotation path to navigation_property/key i.e. ''&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Record Type="UI.DataField"&amp;gt;
    &amp;lt;PropertyValue Property="Label" String="{@i18n&amp;gt;plant}"/&amp;gt;
    &amp;lt;PropertyValue Property="Value" Path="ToPlant/PlantKey" /&amp;gt;
&amp;lt;/Record&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;added value list annotation to PlantKey property to enable value help&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 07 Jan 2021 12:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379923#M4633780</guid>
      <dc:creator>EkanshCapgemini</dc:creator>
      <dc:date>2021-01-07T12:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379924#M4633781</link>
      <description>&lt;P&gt;Hello Ekansh,&lt;/P&gt;&lt;P&gt;
currently I also have the requirement to map a Multi Select Combobox.
I am trying to implement the 1-N association in a RAP based service. 
So my question. Have you been able to finish your implementation? If so, can you publish the complete annotation here? 
I would like to compare this with mine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Best wishes
Sebastian&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 14:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379924#M4633781</guid>
      <dc:creator>SeSo_1</dc:creator>
      <dc:date>2021-05-21T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379925#M4633782</link>
      <description>&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;In fact, I had to abandon the idea of using fiori element as the requirement went too complex and it had some limitation with my FES UI5 version. So I currently don't have access to the codebase for this but the all the annotations are added in my question and answer.&lt;/P&gt;&lt;P&gt;Hope it helps you in some way.&lt;/P&gt;&lt;P&gt;BR, Ekansh&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 07:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379925#M4633782</guid>
      <dc:creator>EkanshCapgemini</dc:creator>
      <dc:date>2021-05-22T07:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379926#M4633783</link>
      <description>&lt;P&gt;Hello Sebastian&lt;/P&gt;&lt;P&gt;I am also using RAP . Did you find way to make a Multi input field using RAP ?&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Amit Gupta &lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 07:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379926#M4633783</guid>
      <dc:creator>amitg1275</dc:creator>
      <dc:date>2021-07-12T07:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379927#M4633784</link>
      <description>&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;yes i solved it. &lt;/P&gt;&lt;P&gt;you have to make a 1..N composition in the root entity like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957525-2021-07-15-16-49-11-ucd.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;&lt;P&gt;and make an annotation with value like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957524-2021-07-15-16-40-31-ucd.png" /&gt;  &lt;IMG alt="" style="background-color: initial; color: inherit; font-size: 14px;" /&gt;&lt;/P&gt;&lt;P&gt;the result in the ADT:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957526-2021-07-15-16-51-24-app-vorschau-fur-fiori-element.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;Sebastian Sobierajski&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 14:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379927#M4633784</guid>
      <dc:creator>SeSo_1</dc:creator>
      <dc:date>2021-07-15T14:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379928#M4633785</link>
      <description>&lt;P&gt;This worked for me as well. One additional hint to add is that if additional UI annotations are required (such as &lt;I&gt;textArrangement: #TEXT_ONLY&lt;/I&gt;), these annotations need to be applied to the composition entity's field and not the composition itself in the parent entity.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 16:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379928#M4633785</guid>
      <dc:creator>MattDion</dc:creator>
      <dc:date>2022-07-22T16:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Smart MultiInput Control on the Fiori Elements Object Page</title>
      <link>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379929#M4633786</link>
      <description>&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;Can you clarify&lt;FONT color="rgba(0, 0, 0, 0)"&gt; your answer? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="rgba(0, 0, 0, 0)"&gt;Maybe share the code of the CDS we have the same requirement and I'm stuck (UIversion: 1.96.6 S4/hana 2021)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="rgba(0, 0, 0, 0)"&gt;Kind regards&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="rgba(0, 0, 0, 0)"&gt;Jérémy&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="rgba(0, 0, 0, 0)"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 12:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-the-smart-multiinput-control-on-the-fiori-elements-object-page/qaa-p/12379929#M4633786</guid>
      <dc:creator>JeremyCoppey</dc:creator>
      <dc:date>2023-02-21T12:35:32Z</dc:date>
    </item>
  </channel>
</rss>

