User Profile
Chrisfoster1330
Copper Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Conditional Formatting
Conditional Formatting So I am building a dynamic Teams List form and I am doing conditional formatting I want certain fields to appear based on conditions, and that works however when I go into the list complete the pending actions and I choose the item I want the details pane returns the following error: As you can see the list has the information, so I am not sure what I need to do. If I remove the conditional formatting from the 2 columns, the app works as expected, so I know it has to be something in the formatting that I am doing wrong. In addition when I select a record and hit edit, it Labels: Developer Microsoft Teams Add tags 187 Views 1 Like 11 Replies Reply Skip to sidebar content All Discussions Previous Discussion Next Discussion 11 Replies Meghana-MSFT replied to Chrisfoster1330 Jul 19 2021 06:46 AM @Chrisfoster1330 It seems like there is an issue with the JSON file. Could you please https://jsonlint.com/. Also it could be great if you could share your JSON file with dummy data and conditions used so that it could be helpful for us to look into the issue. Please make sure you have removed any PII. Mark as best response 0 Likes Reply Chrisfoster1330 replied to Meghana-MSFT Jul 20 2021 10:18 AM So I am using simple formulas in column formatting and not really using JSON the formula for "Agent" is =if([$Category] == 'Agent', 'true', 'false') and JSON validator says the =if is wrong and it states it should be without the = but it is not a valid formula. Mark as best response 0 Likes Reply Meghana-MSFT replied to Chrisfoster1330 Jul 22 2021 02:32 AM @Chrisfoster1330 From the formula it seems like you are using Sharepoint list. Could you please let us know if it is the correct assumption? Also Please take a look at the https://support.office.com/en-US/client/results?Shownav=true&lcid=1033&ns=SPOStandard&version=16&omkt=en-US&ver=16&HelpId=WSSEndUser_FormulaSyntaxError. If you could guide us on the resource where you are using the formula, it will be great for us to try in the right direction. Mark as best response 0 Likes Reply Chrisfoster1330 replied to Meghana-MSFT Jul 22 2021 05:20 AM @Meghana-MSFT Yes you are correct it is in a SharePoint List, And I am using it in a column called "Agent" and a column called "Team Meeting" and it is pointed at a column called "Category". So if the Category is "Agent" then only that field will be visible and likewise with the one for "Team". This function is working, however I am getting an error, when I am trying to view the record in the "Details Pane" and also none of the record is visible when you click on edit. My formulas appear to be correct and like I said previously when I remove the formulas the form works as expected. Here are the formulas again: =if([$Category] == 'Agent', 'true', 'false') And =if([$Category] == 'Team', 'true', 'false') Mark as best response 0 Likes Reply Meghana-MSFT replied to Chrisfoster1330 Jul 29 2021 10:42 PM @Chrisfoster1330 We tried to repro this at our end and we did not face any issue with view the record in the "Details Pane" and edit options. Could you please try the same thing in Sharepoint list and do the same operations? And see if you are still facing the issue? Mark as best response 0 Likes Reply Chrisfoster1330 replied to Meghana-MSFT Jul 30 2021 04:56 AM I have deleted and rebuilt this app 4 times all with the same result. I have built other apps with the same conditional formatting and it works just fine with no issues, but try as I might I cannot get this one to work period. I have no idea where to go next Mark as best response 0 Likes Reply Meghana-MSFT replied to Chrisfoster1330 Jul 30 2021 05:16 AM Could you please try the same thing in Sharepoint list instead of Teams lists and do the same operations? And see if you are still facing the issue? Mark as best response 0 Likes Reply Chrisfoster1330 replied to Meghana-MSFT Jul 30 2021 06:08 AM So you are asking me to create it in SP and not Teams? Can I copy it over or do I have to build it in SP? Mark as best response 0 Likes Reply Meghana-MSFT replied to Chrisfoster1330 Jul 30 2021 06:27 AM @Chrisfoster1330 There is an option to open the list in Sharepoint. Attaching a screenshot for your reference. Mark as best response 0 Likes Reply Chrisfoster1330 replied to Meghana-MSFT Jul 30 2021 06:44 AM I have done this and I get the same issues. What is my next step, I really have to get this thing fixed. As I stated I have tried everything I know to get this to respond to no avail. Mark as best response 0 Likes Reply Meghana-MSFT replied to Chrisfoster1330 Aug 01 2021 10:47 PM - edited Aug 02 2021 12:34 AM @Chrisfoster1330 , This does not seem like a teams issue. Could you please raise this on Sharepoint Lists platform. Mark as best response1.9KViews0likes1CommentRe: Conditional Formatting
I have deleted and rebuilt this app 4 times all with the same result. I have built other apps with the same conditional formatting and it works just fine with no issues, but try as I might I cannot get this one to work period. I have no idea where to go next2.5KViews0likes5CommentsSome one please help
So I am building a dynamic Teams List form and I am doing conditional formatting I want certain fields to appear based on conditions, and that works however when I go into the list complete the pending actions and I choose the item I want the details pane returns the following error: As you can see the list has the information, so I am not sure what I need to do. If I remove the conditional formatting from the 2 columns, the app works as expected, so I know it has to be something in the formatting that I am doing wrong. In addition when I select a record and hit edit, it I am using simple formulas in column formatting and not really using JSON the formula for "Agent" is =if([$Category] == 'Agent', 'true', 'false') and JSON validator says the =if is wrong and it states it should be without the = but it is not a valid formula. This is a SharePoint List, And I am using it in a column called "Agent" and a column called "Team Meeting" and it is pointed at a column called "Category". So if the Category is "Agent" then only that field will be visible and likewise with the one for "Team". This function is working, however I am getting an error, when I am trying to view the record in the "Details Pane" and also none of the record is visible when you click on edit. My formulas appear to be correct and like I said previously when I remove the formulas the form works as expected. Here are the formulas again: =if([$Category] == 'Agent', 'true', 'false') And =if([$Category] == 'Team', 'true', 'false')991Views0likes1CommentRe: Conditional Formatting
Meghana-MSFT Yes you are correct it is in a SharePoint List, And I am using it in a column called "Agent" and a column called "Team Meeting" and it is pointed at a column called "Category". So if the Category is "Agent" then only that field will be visible and likewise with the one for "Team". This function is working, however I am getting an error, when I am trying to view the record in the "Details Pane" and also none of the record is visible when you click on edit. My formulas appear to be correct and like I said previously when I remove the formulas the form works as expected. Here are the formulas again: =if([$Category] == 'Agent', 'true', 'false') And =if([$Category] == 'Team', 'true', 'false')2.5KViews0likes7CommentsRe: Conditional Formatting
So I am using simple formulas in column formatting and not really using JSON the formula for "Agent" is =if([$Category] == 'Agent', 'true', 'false') and JSON validator says the =if is wrong and it states it should be without the = but it is not a valid formula.2.6KViews0likes9CommentsTeams list column formatting issues
So I am building a dynamic Teams List form and I am doing conditional formatting I want certain fields to appear based on conditions, and that works however when I go into the list complete the pending actions and I choose the item I want the details pane returns the following error: As you can see the list has the information, so I am not sure what I need to do. If I remove the conditional formatting from the 2 columns, the app works as expected, so I know it has to be something in the formatting that I am doing wrong. In addition when I select a record and hit to edit it, it is a blank page I have been editing and changing it to no avail, please help.1.1KViews0likes0CommentsConditional Formatting
So I am building a dynamic Teams List form and I am doing conditional formatting I want certain fields to appear based on conditions, and that works however when I go into the list complete the pending actions and I choose the item I want the details pane returns the following error: As you can see the list has the information, so I am not sure what I need to do. If I remove the conditional formatting from the 2 columns, the app works as expected, so I know it has to be something in the formatting that I am doing wrong. In addition when I select a record and hit edit, it2.7KViews1like11Comments
Recent Blog Articles
No content to show