You asked, I built - Showing lookup field as an Optionset using PCF

Поделиться
HTML-код
  • Опубликовано: 31 окт 2024

Комментарии • 73

  • @andrewthewild3577
    @andrewthewild3577 2 года назад +1

    Класний урок ,дуже допоміг!Дякую за відео!Сподіваюся ще будуть відео за схожою тематикою!

    • @AndrewButenko
      @AndrewButenko  2 года назад +1

      Планую робити схожі відео, тому що схоже, що вони заходять. Дякую за зацікавленість. Не забувайте підписуватись на канал, щоб не пропустити нові відео, коли вони почнуть виходити. Андрій

  • @sumitchandra934
    @sumitchandra934 2 года назад +1

    Hi Andrew . Awesome video with detail explanation.

    • @AndrewButenko
      @AndrewButenko  2 года назад

      Hello Sumit! I'm glad you liked the video. Don't forget to subscribe to the channel to keep an eye on new videos. Andrew

  • @danielserrano5581
    @danielserrano5581 3 года назад +2

    Have been learning a lot with your videos, I just don't get much of React, really need to study into it. Thank you and I love stickers 😁

    • @AndrewButenko
      @AndrewButenko  3 года назад +1

      Hello, Daniel. Look me up on the linkedin or twitter and send me your address using PM. Andrew

  • @jaydeeppatel6545
    @jaydeeppatel6545 3 года назад +1

    Awesome, I like your idea and Stickers 😀

    • @AndrewButenko
      @AndrewButenko  3 года назад

      Look me up in Linkedin or Twitter and send me your address using PM so I can send you tickers.
      Andrew

  • @valentingasenko7999
    @valentingasenko7999 3 года назад +1

    Brilliant! Thanks a lot!

  • @SmartLearningAI
    @SmartLearningAI 10 месяцев назад +1

    Hey Andrew, nice to meet you. I have been looking for a way to have an image slideshow in model-driven power apps but could only find some ideas for canvas apps. I don't really want to embed a canvas app, I just want a custom Control that specifically works with Model-Driven App and Dataverse. If you have any ideas please let me know.

    • @AndrewButenko
      @AndrewButenko  10 месяцев назад

      Hello, check the following control from my friend Oleksandr - pcf.gallery/attachment-gallery/

  • @adrianbegovich7294
    @adrianbegovich7294 3 года назад +1

    Great video as usual! I would like stickers :)

  • @dineshoneplus104
    @dineshoneplus104 3 года назад +1

    Coool man…. Inspiring content

  • @karankkrj
    @karankkrj 3 года назад +1

    Hi Andrew, I just tried this and one observation, the pcf doesn't respect the filters. So for e.g I have a country lookup and based on the country selected, I wanted to filter out the state,city. Really liked the video ❤️

    • @AndrewButenko
      @AndrewButenko  3 года назад

      Karan, glad that you liked the video. Dependency on the parent attribute can be added but it has to be coded. You can find more details here - dianabirkelbach.wordpress.com/2021/06/19/lookup-pcf-lets-dive-deeper/ Andrew

    • @paulkroon
      @paulkroon 2 года назад +1

      @@AndrewButenko hi Andrew, would you be so kind to create a follow-up video for 'Filtering based on another lookup' functionality. I just started by learning PCF controls and I am not from a development background, so this is hard to digest based on the article you shared. Would really help if you could do this. Really liked the video and learned a lot from it, still just one step away from my goal.

    • @AndrewButenko
      @AndrewButenko  2 года назад +1

      @@paulkroon Hello Paul, I will work on such video soon. Andrew

  • @iulianburlacu
    @iulianburlacu 6 месяцев назад +1

    Beautiful! How can I get so good at type script? Any good tutorials you can recommend? Im a TS beginner, altho I have experience with PhP, C# and other programming languages.

    • @AndrewButenko
      @AndrewButenko  6 месяцев назад

      The only good way to become better at something is by doing. I used this tutorial back in days to get learn React - react.dev/learn

  • @rockstar-g5p
    @rockstar-g5p 3 года назад +1

    Awesome!

  • @ranjanroy1623
    @ranjanroy1623 Год назад +1

    Hi Andrew , amazing video , do you have an video , link to get address using bing or any diff source within address field ?

    • @AndrewButenko
      @AndrewButenko  Год назад

      Hello, I didn't record any video about it but I have created a few control that addresses Address Autocomplete functionality. You can check those controls here - github.com/AndrewButenko/GoogleAddressAutocomplete_PCF and github.com/AndrewButenko/ABControlsToolkit

    • @ranjanroy1623
      @ranjanroy1623 Год назад

      @@AndrewButenko thanks much . can i use this in my current solution in model driven app , or else i have to import the zip managed instance in a new solution ?

  • @igor19781978
    @igor19781978 3 года назад +1

    Love it !!!

    • @AndrewButenko
      @AndrewButenko  3 года назад

      You liked it but you don't like stickers, right? :)

    • @igor19781978
      @igor19781978 3 года назад +1

      @@AndrewButenko I want sticker and I like surprises :)

    • @AndrewButenko
      @AndrewButenko  3 года назад +1

      @@igor19781978 then you're on the list :)

    • @igor19781978
      @igor19781978 3 года назад +1

      @@AndrewButenko i just never win anything :)

  • @vamshikrishnalakkakula5892
    @vamshikrishnalakkakula5892 2 года назад +1

    Hi Andrew, Thanks for sharing the details on this control.
    Can you create custom search lookup it will be helpful.

    • @AndrewButenko
      @AndrewButenko  2 года назад

      Hello, can you please clarify what do you mean?

    • @vamshikrishnalakkakula5892
      @vamshikrishnalakkakula5892 2 года назад

      @@AndrewButenko I mean create a lookup pcf control with search enabled

    • @AndrewButenko
      @AndrewButenko  2 года назад

      @@vamshikrishnalakkakula5892 why not use the OOB Control itself?

    • @vamshikrishnalakkakula5892
      @vamshikrishnalakkakula5892 2 года назад

      @@AndrewButenko i need to search records with out wild card search(*)

    • @AndrewButenko
      @AndrewButenko  2 года назад

      @@vamshikrishnalakkakula5892 If you're looking for that option - why not use OOB lookup? Just curious.

  • @abdelrahmankhaled8239
    @abdelrahmankhaled8239 5 месяцев назад +1

    Hello, I tried following this tutorial but then i got an error testing the component in the pcf test harness. it says that the getTargetEntityType is not a function. I downloaded the source code for the official sample lookup component that's on github by microsoft and i still got this error. so idk where the problem is exactly can you help me?

    • @AndrewButenko
      @AndrewButenko  5 месяцев назад

      Don't test it in harneds. Harness doesn't have all the APIs, it doesn't know how to query the data and so on. You will have to import the control into Dataverse and test it there.

    • @abdelrahmankhaled8239
      @abdelrahmankhaled8239 5 месяцев назад

      @@AndrewButenko good to know!
      Thank you for the reply and for the great tutorial

  • @shaikhjunaid3633
    @shaikhjunaid3633 2 года назад

    Hi Andrew, I want to convert multi lines of text into option set. My requirement is
    Entity A - act as a lookup on Entity B.
    Entity A has two fields
    Field A - drop-down containes four options as Single text, Boolean, Single Choice and multiple Choices.
    Field B - multi lines of text
    If I select multiple choice in Field A then it shows Field B (OOB) for storing values, later it converts to multi select options set in web portal (OOB).
    MY ACTUAL REQUIREMENT IS :
    If user select Single Choice or Multiple Choice or Single Text or Boolean Value and I provided data in Field B then values provided in Field B should be reflected as option set ( For single choice should single selected and for multiple choices should be multiple selected) in custom field let's say Field C on Entity B.
    If you have code can you please share ?
    Thanks

  • @chetanvasantrote7646
    @chetanvasantrote7646 3 года назад +1

    Great Video. Hi, I have a use case where I want to build a custom component for the canvas app to do CRUD operations on Sharepoint from the PCF component. Is it possible without using Rest API?

    • @AndrewButenko
      @AndrewButenko  3 года назад +1

      That is a great question! I believe you will have to use Rest calls in order to achieve your goal.
      Thanks,
      Andrew

    • @chetanvasantrote7646
      @chetanvasantrote7646 3 года назад

      Thanks, @@AndrewButenko I'll try using the Rest calls.

  • @rashimalhotra8642
    @rashimalhotra8642 Год назад +1

    Hello Andrew. I have an entity in my model driven app which has 2 fields which are same. Both the fields have my custom pcf control enabled. Now, if I update value of one field, the updateview method is called only for that field. How to call the updateview for the 2nd field at the same time?

    • @AndrewButenko
      @AndrewButenko  9 месяцев назад

      Hello, UpdateView suppose to be called for both of PCF controls and underlying fields. You should check how do you handle UpdateView event.

  • @JC-to1os
    @JC-to1os 3 года назад +1

    Hi. I've tried your PCF tutorial on Email field in the Scottish Summit channel. I was wondering how can I set a value in the field if I try to add a new item in the dropdown menu.

    • @AndrewButenko
      @AndrewButenko  3 года назад

      Hello, somehow I did not see your question. Can you please explain on what's your scenario? Andrew

  • @TheShalabh
    @TheShalabh 2 года назад +1

    Hi Andrew, thanks for sharing the details on this control. I looked up at the github but unable to find the solutions file. Have they been removed? I wanted to try it out so was a little curious if I need to pull the request and build inhouse

    • @AndrewButenko
      @AndrewButenko  2 года назад +1

      Just checked, solution file is there - github.com/AndrewButenko/LookupToOptionset/releases/tag/1.0.0.0

  • @markpittsnh
    @markpittsnh 2 года назад +1

    Hello Andrew, trying to follow along. Any suggestions on the following error when running
    npm install @fluentui/react?
    Previous commands were
    npm install react
    npm install @types/react
    npm install react-dom
    npm install @types/react-dom@16.8.4
    Version of Node JS installed
    C:\downloads\typescript_training\learnpcf_vs>node -v
    v16.15.1
    C:\downloads\typescript_training\learnpcf_vs>npm install @fluentui/react
    npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! While resolving: pcf-project@1.0.0
    npm ERR! Found: @types/react@18.0.15
    npm ERR! node_modules/@types/react
    npm ERR! @types/react@"^18.0.5" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer @types/react@">=16.8.0

    • @AndrewButenko
      @AndrewButenko  2 года назад

      Hello Mark, try to install a specific version of fluentui - npm install @fluentui/react@8.61.0

    • @markpittsnh
      @markpittsnh 2 года назад +1

      @@AndrewButenko My research of the issue tells me that in the following line
      npm ERR! peer @types/react@">=16.8.0

    • @AndrewButenko
      @AndrewButenko  2 года назад

      @@markpittsnh thanks!

  • @valeriyamakarova4111
    @valeriyamakarova4111 2 года назад

    Андрей, здравствуйте! Я только недавно погрузилась в систему. Не знаю всех тонкостей. Подскажите, есть ли решение для Microsoft Dynamics CRM для скрытия и отображения представлений в зависимости от роли/рабочей группы пользователя?

  • @jayasuriyaarjunan3325
    @jayasuriyaarjunan3325 Год назад +1

    Sir i tried to replicate u...but getting error when pushing to environment....it says web source content size too big?

    • @AndrewButenko
      @AndrewButenko  Год назад

      Hello, check this video - ruclips.net/video/VMCs7LgAZvI/видео.html&ab_channel=AndrewButenko it should help.

  • @burakdagli7356
    @burakdagli7356 2 года назад

    Is it possible to change display value of a lookup?

    • @AndrewButenko
      @AndrewButenko  2 года назад

      There is no easy "configurational" way unfortunally. Theoretically it's possible using plugins that will handle retrieve/retrievemultiple messages but it would be a bit complicated.

    • @ginowadakekalam
      @ginowadakekalam 2 года назад +1

      @@AndrewButenko
      I think in the PCF itself we can retrieve, no need of pluggin. We can query using webapi since we have the guid of the record

    • @AndrewButenko
      @AndrewButenko  2 года назад +1

      @@ginowadakekalam In the PCF - yes. I meant for the regular lookup field.

    • @ginowadakekalam
      @ginowadakekalam 2 года назад

      @@AndrewButenko oh ok. In the regular lookup there is some client side javascript hack

  • @smartboyThahasif
    @smartboyThahasif Год назад

    Hai
    I am Thahasif

  • @DarylLaBar
    @DarylLaBar 3 года назад +1

    Your "Let's rewind" icon uses a fast-forward icon... literally unwatchable ;)

    • @DarylLaBar
      @DarylLaBar 3 года назад

      Wait, it should say Fast-Forward rather than rewind correct?