microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
312 stars 51 forks source link

[BUG]: FluentDetailsList Add fields doesn't work #475

Closed Gorkey closed 3 months ago

Gorkey commented 3 months ago

Describe the bug In the FluentDetailsList you can no longer add the fields of the data source, so that the list can no longer display any data.

To Reproduce Add FluentDetailList. Connect to a data source. It does not matter whether it is a collection or an external source. In the properties tab “Fields” click on Edit and then on the plus “Add Field”. Select the fields in the mask and press “Add”. The fields are then not added.

To Reproduce Steps to reproduce the behavior:

  1. Add FluentDetailList
  2. Under "Records" connect with a DataSource
  3. Add fields in the Poperties Pane "Fields". Press "Edit".
  4. Click the plus Icon "Add field"
  5. Select the fields to be added.

Expected behavior The fields should be added so that they are displayed in the Data tab and added to the Tree view.

Screenshots image

AB#3515

trillian74 commented 3 months ago

Same in out tenant - could we have a work around posted? convert to previous?

sonalfdo commented 3 months ago

encountered this bug, is there a workaround for this?

tpfen commented 3 months ago

Does not work for: 3.24054.19 3.24061.18

Gorkey commented 3 months ago

encountered this bug, is there a workaround for this?

I haven't found one yet. My workaround is to use the mordern control "Table". But it doesn't currently offer the same range of functions as the detail list. :(

trillian74 commented 3 months ago

I actually think that this is (maybe) due to something in an actual fluent ui change. I just tested another component https://github.com/shaheerahmadch/Canvas-Grid which is based on a caret of the v8 of fluentui react. "@fluentui/react": "^8.115.7", and there was a drop last week... really would like some admin point of view here ?

This pcf had the same #bugs that detailslist shows

AndyBed commented 3 months ago

Replicated in our tenant also, with the following investigation/attempted workarounds.

Datasources Attempted

Authoring Version

New or Existing

Both, existing control still retains previous fields and displays them in the list, but won't allow additional. New does not allow me to add any fields, and subsequently means none are displayed in the list.

Browser

Chrome


I actually think that this is (maybe) due to something in an actual fluent ui change. I just tested another component https://github.com/shaheerahmadch/Canvas-Grid which is based on a caret of the v8 of fluentui react. "@fluentui/react": "^8.115.7", and there was a drop last week... really would like some admin point of view here ?

This pcf had the same #bugs that detailslist shows

I think this may be the case, we were using an older version of the creator kit, but upon upgrading to the May 2024 Creator Kit release, we still have the same problem.

Definitely halting additional development on our side, as mentioned by Gorkey using the table control doesn't really maintain the same functionality for us.

trillian74 commented 3 months ago

That is a clean summary of my findings as well. How do we cry for help? @AndyBed @Gorkey. Maybe @denise-msft or @RajeevPentyala can shed some light?

martinpyman commented 3 months ago

Any chance of an update on this?

animalLover143 commented 3 months ago

I think anything to do with adding fields is affected, not working even on picker

jh-sigmadx commented 3 months ago

I too can confirm the exact same behaviour, along with not being able to revert to an authoring version in which the Details List actually works. PowerApps Authoring Versions Restricted

This essentially puts a COMPLETE HALT to all my Canvas Apps Projects for all my clients.

The issue did not exist when using previous Power Apps Authoring versions, but since the update to 3.24054.19 (and above), we cannot edit the Details List "fields".

I understand that this is an issue with the PowerApps Studio really, rather than the Creator Kit, and I have raised additional tickets regarding that, but I just wanted to add my voice to this thread.

James.

tpfen commented 3 months ago

Workaround (not nice): Use the code view and add/change the fields in any texteditor and paste the new code in the project.

image

image

image

trillian74 commented 3 months ago

@jh-sigmadx Is that a github issued ticket or other. Could you post the link if this is on github so that I could subscribe to follow the progress?

@tpfen Yes, it's not nice. Although it makes it possible to make some ground while waiting for updates/fixes :)

jh-sigmadx commented 3 months ago

@trillian74 - Sorry if I accidentally misled you - I meant I had logged a ticket on the Microsoft Power Platform, specifically about being able to access a previous authoring version of the studio, one that actually still works with the Creator Kit! (3.24052) (If anyone is interested - add "&studio-version=v3.24052.30.298708436" to the end of your make.powerapps url)

sjpfeifer2 commented 3 months ago

My team is having the same issues. The ability to add new fields was working Monday the 10th and then sometime yesterday it stopped. I am also not able to revert to an earlier authoring version. It's not stopped our development, but we're having to completely shift priorities and we are considering rework to go back to a standard gallery and just kind of make it work - which is not ideal.

maxjenius commented 3 months ago

Also running into this problem. Thank you @tpfen for the temporary workaround. It at least lets me wire something up. Is there any way we can get guidance on how and which version to revert to in order to get working again quickly?

rarattay commented 3 months ago

Hello, we are aware of this issue and are actively working on a fix.

We have identified a temporary mitigation that you can utilize to unblock setting fields on the DetailsList controls by doing the following:

  1. Open the affected application for edit
  2. Append the following onto the URL bar in your browser and then hit enter: &studio-version=v3.24052.30.298708436
  3. The editor will reload the application
  4. Make any changes you need to the fields of the affected control and save the application
  5. You can then re-open the application for edit as you normally would, but to edit the fields for affected controls you will need to repeat steps 1 through 4.

Apologies for the inconvenience caused by this.

mydone commented 3 months ago

we having same issue couple days ago, and just implemented @rarattay steps, and it works, able to add those columns to the Fluent list now and saved/published. hope it could be resolved soon.

maxjenius commented 3 months ago

@rarattay Thank you, I can confirm this is working. This helps quite a bit.

denise-msft commented 3 months ago

Hello, we are aware of this issue and are actively working on a fix.

We have identified a temporary mitigation that you can utilize to unblock setting fields on the DetailsList controls by doing the following:

  1. Open the affected application for edit
  2. Append the following onto the URL bar in your browser and then hit enter: &studio-version=v3.24052.30.298708436
  3. The editor will reload the application
  4. Make any changes you need to the fields of the affected control and save the application
  5. You can then re-open the application for edit as you normally would, but to edit the fields for affected controls you will need to repeat steps 1 through 4.

Apologies for the inconvenience caused by this.

Closing this as there's a fix rolling out - please refer to the workaround until this is working normally in studio

jh-sigmadx commented 3 months ago

Hi @denise-msft ,

I see that you have closed this BUG as Complete. Can you tell us which PowerApps Studio Version or Build to which the fix is included? I can confirm that we still CANNOT amend the Columns of a Details List on Authoring versions: 3.24054.23 3.24061.22 3.24062.17 3.24063.11

James.

denise-msft commented 4 weeks ago

@jh-sigmadx apologies for the late reply and lack of clarity. If you're still having issues with this on the latest studio version please feel free to reopen this issue.

jh-sigmadx commented 4 weeks ago

Thanks @denise-msft ,

I have just done a little testing, and it appears that the Details list is fully functional in Studio version 3.24083.14

I can both Add new fields, and the Sorting works (which was another regression error that the PowerApps Studio re-introduced after fixing it in earlier releases)