Skip to content

Commit f345389

Browse files
authored
Merge pull request MicrosoftDocs#3102 from MicrosoftDocs/no-style
Remove use of <style> tags to set img max width
2 parents 690a5f6 + 552edc8 commit f345389

17 files changed

+54
-54
lines changed

powerapps-docs/maker/canvas-apps/functions/function-clear-collect-clearcollect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ In these examples, you'll erase and add to a collection that's named **IceCream*
8383

8484
| Formula | Description | Result |
8585
| --- | --- | --- |
86-
| **ClearCollect( IceCream, {&nbsp;Flavor:&nbsp;"Strawberry",&nbsp;Quantity:&nbsp;300&nbsp;} )** |Clears all data from the **IceCream** collection and then adds a record that includes a quantity of strawberry ice cream. |<style> img { max-width: none } </style> ![Table with one record](media/function-clear-collect-clearcollect/icecream-clearcollect.png)<br><br>The **IceCream** collection has also been modified. |
86+
| **ClearCollect( IceCream, {&nbsp;Flavor:&nbsp;"Strawberry",&nbsp;Quantity:&nbsp;300&nbsp;} )** |Clears all data from the **IceCream** collection and then adds a record that includes a quantity of strawberry ice cream. | ![Table with one record](media/function-clear-collect-clearcollect/icecream-clearcollect.png)<br><br>The **IceCream** collection has also been modified. |
8787
| **Collect( IceCream, {&nbsp;Flavor:&nbsp;"Pistachio",&nbsp;Quantity:&nbsp;40&nbsp;}, {&nbsp;Flavor:&nbsp;"Orange",&nbsp;Quantity:&nbsp;200&nbsp;} )** |Adds two records to the **IceCream** collection that includes a quantity of pistachio and orange ice cream. |![Table with two records](media/function-clear-collect-clearcollect/icecream-collect.png)<br><br>The **IceCream** collection has also been modified. |
8888
| **Clear( IceCream )** |Removes all records from the **IceCream** collection. |![Empty table](media/function-clear-collect-clearcollect/icecream-clear.png)<br><br>The **IceCream** collection has also been modified. |
8989

powerapps-docs/maker/canvas-apps/functions/function-filter-lookup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The following examples use the **IceCream** [data source](../working-with-data-s
6363

6464
| Formula | Description | Result |
6565
| --- | --- | --- |
66-
| **Filter( IceCream, OnOrder > 0 )** |Returns records where **OnOrder** is greater than zero. |<style> img { max-width: none; } </style> ![](media/function-filter-lookup/icecream-onorder.png) |
66+
| **Filter( IceCream, OnOrder > 0 )** |Returns records where **OnOrder** is greater than zero. | ![](media/function-filter-lookup/icecream-onorder.png) |
6767
| **Filter( IceCream, Quantity + OnOrder > 225 )** |Returns records where the sum of **Quantity** and **OnOrder** columns is greater than 225. |![](media/function-filter-lookup/icecream-overstock.png) |
6868
| **Filter( IceCream, "chocolate" in Lower( Flavor ) )** |Returns records where the word "chocolate" appears in the **Flavor** name, independent of uppercase or lowercase letters. |![](media/function-filter-lookup/icecream-chocolate.png) |
6969
| **Filter( IceCream, Quantity < 10 && OnOrder < 20 )** |Returns records where the **Quantity** is less than 10 and **OnOrder** is less than 20. No records match these criteria, so an empty table is returned. |![](media/function-filter-lookup/icecream-empty.png) |
@@ -97,15 +97,15 @@ To filter based on the **Name** column, set the **Items** property of the galler
9797

9898
| Formula | Description | Result |
9999
| --- | --- | --- |
100-
| **Filter( Customers, StartsWith( Name, SearchInput.Text ) )** |Filters the **Customers** data source for records in which the search string appears at the start of the **Name** column. The test is case insensitive. If the user types **co** in the search box, the gallery shows **Colleen Jones** and **Cole Miller**. The gallery doesn't show **Mike Collins** because the **Name** column for that record doesn't start with the search string. |<style> img { max-width: none } </style> ![](media/function-filter-lookup/customers-name-co-startswith.png) |
101-
| **Filter( Customers, SearchInput.Text in Name )** |Filters the **Customers** data source for records in which the search string appears anywhere in the **Name** column. The test is case insensitive. If the user types **co** in the search box, the gallery shows **Colleen Jones,** **Cole Miller,** and **Mike Collins** because the search string appears somewhere in the **Name** column of all of those records. |<style> img { max-width: none } </style> ![](media/function-filter-lookup/customers-name-co-contains.png) |
102-
| **Search( Customers, SearchInput.Text, "Name" )** |Similar to using the **in** operator, the **Search** function searches for a match anywhere within the **Name** column of each record. Note that you must enclose the column name in double quotation marks. |<style> img { max-width: none } </style> ![](media/function-filter-lookup/customers-name-co-contains.png) |
100+
| **Filter( Customers, StartsWith( Name, SearchInput.Text ) )** |Filters the **Customers** data source for records in which the search string appears at the start of the **Name** column. The test is case insensitive. If the user types **co** in the search box, the gallery shows **Colleen Jones** and **Cole Miller**. The gallery doesn't show **Mike Collins** because the **Name** column for that record doesn't start with the search string. | ![](media/function-filter-lookup/customers-name-co-startswith.png) |
101+
| **Filter( Customers, SearchInput.Text in Name )** |Filters the **Customers** data source for records in which the search string appears anywhere in the **Name** column. The test is case insensitive. If the user types **co** in the search box, the gallery shows **Colleen Jones,** **Cole Miller,** and **Mike Collins** because the search string appears somewhere in the **Name** column of all of those records. | ![](media/function-filter-lookup/customers-name-co-contains.png) |
102+
| **Search( Customers, SearchInput.Text, "Name" )** |Similar to using the **in** operator, the **Search** function searches for a match anywhere within the **Name** column of each record. Note that you must enclose the column name in double quotation marks. | ![](media/function-filter-lookup/customers-name-co-contains.png) |
103103

104104
You can expand your search to include the **Company** column as well as the **Name** column:
105105

106106
| Formula | Description | Result |
107107
| --- | --- | --- |
108-
| **Filter( Customers, StartsWith( Name, SearchInput.Text ) &#124;&#124; StartsWith( Company, SearchInput.Text ) )** |Filters the **Customers** data source for records in which either the **Name** column or the **Company** column starts with the search string (for example, **co**). The [**&#124;&#124;** operator](operators.md) is *true* if either **StartsWith** function is *true*. |<style> img { max-width: none } </style> ![](media/function-filter-lookup/customers-all-co-startswith.png) |
109-
| **Filter( Customers, SearchInput.Text in Name &#124;&#124; SearchInput.Text in Company )** |Filters the **Customers** data source for records in which either the **Name** column or the **Company** column contains the search string (for example, **co**) anywhere within it. |<style> img { max-width: none } </style> ![](media/function-filter-lookup/customers-all-co-contains.png) |
110-
| **Search( Customers, SearchInput.Text, "Name", "Company" )** |Similar to using the **in** operator, the **Search** function searches the **Customers** data source for records in which either the **Name** column or the **Company** column contains the search string (for example, **co**) anywhere within it. The **Search** function is easier to read and write than **Filter** if you want to specify multiple columns and multiple **in** operators. Note that you must enclose the names of the columns in double quotation marks. |<style> img { max-width: none } </style> ![](media/function-filter-lookup/customers-all-co-contains.png) |
108+
| **Filter( Customers, StartsWith( Name, SearchInput.Text ) &#124;&#124; StartsWith( Company, SearchInput.Text ) )** |Filters the **Customers** data source for records in which either the **Name** column or the **Company** column starts with the search string (for example, **co**). The [**&#124;&#124;** operator](operators.md) is *true* if either **StartsWith** function is *true*. | ![](media/function-filter-lookup/customers-all-co-startswith.png) |
109+
| **Filter( Customers, SearchInput.Text in Name &#124;&#124; SearchInput.Text in Company )** |Filters the **Customers** data source for records in which either the **Name** column or the **Company** column contains the search string (for example, **co**) anywhere within it. | ![](media/function-filter-lookup/customers-all-co-contains.png) |
110+
| **Search( Customers, SearchInput.Text, "Name", "Company" )** |Similar to using the **in** operator, the **Search** function searches the **Customers** data source for records in which either the **Name** column or the **Company** column contains the search string (for example, **co**) anywhere within it. The **Search** function is easier to read and write than **Filter** if you want to specify multiple columns and multiple **in** operators. Note that you must enclose the names of the columns in double quotation marks. | ![](media/function-filter-lookup/customers-all-co-contains.png) |
111111

powerapps-docs/maker/canvas-apps/functions/function-forall.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ To create this data source as a collection, set the **OnSelect** property of a *
6262

6363
| Formula | Description | Result |
6464
| --- | --- | --- |
65-
| **ForAll(&nbsp;Squares, Sqrt(&nbsp;Value&nbsp;)&nbsp;)**<br><br>**Sqrt(&nbsp;Squares&nbsp;)** |For all the records of the input table, calculates the square root of the **Value** column. The **Sqrt** function can also be used with a single-column table, making it possible perform this example without using **ForAll**. |<style> img { max-width: none } </style> ![](media/function-forall/sqrt.png) |
66-
| **ForAll(&nbsp;Squares, Power(&nbsp;Value,&nbsp;3&nbsp;)&nbsp;)** |For all the records of the input table, raises the **Value** column to the third power. The **Power** function does not support single-column tables. Therefore, **ForAll** must be used in this case. |<style> img { max-width: none } </style> ![](media/function-forall/power3.png) |
65+
| **ForAll(&nbsp;Squares, Sqrt(&nbsp;Value&nbsp;)&nbsp;)**<br><br>**Sqrt(&nbsp;Squares&nbsp;)** |For all the records of the input table, calculates the square root of the **Value** column. The **Sqrt** function can also be used with a single-column table, making it possible perform this example without using **ForAll**. | ![](media/function-forall/sqrt.png) |
66+
| **ForAll(&nbsp;Squares, Power(&nbsp;Value,&nbsp;3&nbsp;)&nbsp;)** |For all the records of the input table, raises the **Value** column to the third power. The **Power** function does not support single-column tables. Therefore, **ForAll** must be used in this case. | ![](media/function-forall/power3.png) |
6767

6868
### Using a connection
6969
The following examples use the **Expressions** [data source](../working-with-data-sources.md):
@@ -78,8 +78,8 @@ This example also uses a [Microsoft Translator](../connections/connection-micros
7878

7979
| Formula | Description | Result |
8080
| --- | --- | --- |
81-
| **ForAll( Expressions, MicrosoftTranslator.Translate( Value, "es" ) )** |For all the records in the Expressions table, translate the contents of the **Value** column into Spanish (abbreviated "es"). |<style> img { max-width: none } </style> ![](media/function-forall/translate-es.png) |
82-
| **ForAll( Expressions, MicrosoftTranslator.Translate( Value, "fr" ) )** |For all the records in the Expressions table, translate the contents of the **Value** column into French (abbreviated "fr"). |<style> img { max-width: none } </style> ![](media/function-forall/translate-fr.png) |
81+
| **ForAll( Expressions, MicrosoftTranslator.Translate( Value, "es" ) )** |For all the records in the Expressions table, translate the contents of the **Value** column into Spanish (abbreviated "es"). | ![](media/function-forall/translate-es.png) |
82+
| **ForAll( Expressions, MicrosoftTranslator.Translate( Value, "fr" ) )** |For all the records in the Expressions table, translate the contents of the **Value** column into French (abbreviated "fr"). | ![](media/function-forall/translate-fr.png) |
8383

8484
### Copying a table
8585
Sometimes you need to filter, shape, sort, and manipulate data. Power Apps provides a number of functions for doing this, such as **Filter**, **AddColumns**, and **Sort**. Power Apps treats each table as a value, allowing it to flow through formulas and be consumed easily.

powerapps-docs/maker/canvas-apps/functions/function-ismatch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ Set( pangram, "The quick brown fox jumps over the lazy dog." )
205205
| Formula | Description | Result |
206206
|---------|-------------|--------|
207207
| `Match( pangram, "THE", IgnoreCase )` | Find all matches of "THE" in the text string that the **pangram** variable contains. The string contains two matches, but only the first is returned because you're using **Match** and not **MatchAll**. The SubMatches column is empty because no sub-matches were defined. | {<br>FullMatch: "The",<br>SubMatches: [&nbsp;],<br>StartMatch: 32<br>} |
208-
| `MatchAll( pangram, "the" )` | Find all matches of "the" in the text string that the **pangram** variable contains. The test is case sensitive, so only the second instance of "the" is found. The SubMatches column is empty because no sub-matches were defined. | <style> img { max-width: none } </style> ![](media/function-ismatch/pangram-the-one.png) |
209-
| `MatchAll( pangram, "the", IgnoreCase )` | Find all matches of "the" in the text string that the **pangram** variable contains. In this case, the test is case insensitive, so both instances of the word are found. The SubMatches column is empty because no sub-matches were defined. | <style> img { max-width: none } </style> ![](media/function-ismatch/pangram-the-two.png) |
210-
| `MatchAll( pangram, "\b\wo\w\b" )` | Finds all three-letter words with an "o" in the middle. Note that "brown" is excluded because it's not a three-letter word and, therefore, fails to match "\b" (word boundary). | <style> img { max-width: none } </style> ![](media/function-ismatch/pangram-fox-dog.png) |
208+
| `MatchAll( pangram, "the" )` | Find all matches of "the" in the text string that the **pangram** variable contains. The test is case sensitive, so only the second instance of "the" is found. The SubMatches column is empty because no sub-matches were defined. | ![](media/function-ismatch/pangram-the-one.png) |
209+
| `MatchAll( pangram, "the", IgnoreCase )` | Find all matches of "the" in the text string that the **pangram** variable contains. In this case, the test is case insensitive, so both instances of the word are found. The SubMatches column is empty because no sub-matches were defined. | ![](media/function-ismatch/pangram-the-two.png) |
210+
| `MatchAll( pangram, "\b\wo\w\b" )` | Finds all three-letter words with an "o" in the middle. Note that "brown" is excluded because it's not a three-letter word and, therefore, fails to match "\b" (word boundary). | ![](media/function-ismatch/pangram-fox-dog.png) |
211211
| `Match( pangram, "\b\wo\w\b\s\*(?<between>\w.+\w)\s\*\b\wo\w\b" )` | Matches all the characters between "fox" and "dog". | {<br>between:&nbsp;"jumps&nbsp;over&nbsp;the&nbsp;lazy",<br>FullMatch:&nbsp;"fox&nbsp;jumps&nbsp;over&nbsp;the&nbsp;lazy&nbsp;dog",<br>SubMatches: [ "jumps over the lazy" ],<br>StartMatch: 17<br> } |
212212

213213
To see the results of **MatchAll** in a gallery:

powerapps-docs/maker/canvas-apps/functions/function-left-mid-right.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If the starting position is negative or beyond the end of the string, **Mid** re
3333

3434
* *String* - Required. The string to from which to extract the result.
3535
* *StartingPosition* - Required (**Mid** only). The starting position. The first character of the string is position 1.
36-
* *NumberOfCharacters* - Required (**Left** and **Right** only). The number of characters to return. If omitted for the **Mid** function, the function returns the portion from the starting position until the end of the string.
36+
* *NumberOfCharacters* - Required (**Left** and **Right** only). The number of characters to return. If omitted for the **Mid** function, the function returns the portion from the starting position until the end of the string.
3737

3838
**Left**( *SingleColumnTable*, *NumberOfCharacters* )<br>**Mid**( *SingleColumnTable*, *StartingPosition* [, *NumberOfCharacters* ] )<br>**Right**( *SingleColumnTable*, *NumberOfCharacters* )
3939

@@ -59,7 +59,7 @@ Each example in this section extracts strings from the **Address** [column](../w
5959

6060
| Formula | Description | Result |
6161
| --- | --- | --- |
62-
| **Left( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;), 8 )** |Extracts the first eight characters of each string. |<style> img { max-width: none } </style> ![](media/function-left-mid-right/people-table-left.png) |
62+
| **Left( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;), 8 )** |Extracts the first eight characters of each string. | ![](media/function-left-mid-right/people-table-left.png) |
6363
| **Mid( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;), 5, 7 )** |Extracts the middle seven characters of each string, starting with the fifth character. |![](media/function-left-mid-right/people-table-mid.png) |
6464
| **Right( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;), 7 )** |Extracts the last seven characters of each string. |![](media/function-left-mid-right/people-table-right.png) |
6565

powerapps-docs/maker/canvas-apps/functions/function-len.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ For the first example in this section, the data source is named **People** and c
4747

4848
| Formula | Description | Result |
4949
| --- | --- | --- |
50-
| **Len( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;) )** |In the **Address** [column](../working-with-tables.md#columns) of the **People** table:<br><ul><li>Measures the length of each string.</li><li>Returns a single-column table that contains the length of each string.</li> |<style> img { max-width: none } </style> ![](media/function-len/people-table-len.png) |
50+
| **Len( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;) )** |In the **Address** [column](../working-with-tables.md#columns) of the **People** table:<br><ul><li>Measures the length of each string.</li><li>Returns a single-column table that contains the length of each string.</li> | ![](media/function-len/people-table-len.png) |
5151
| **Len( [ "Hello", "to the", "World", "" ] )** |In the **[Value](function-value.md)** column of the inline table:<br><ul><li>Measures the length of each string.</li><li>Returns a single-column table that contains the length of each string.</li> |![](media/function-len/people-table-len-inline.png) |
5252

powerapps-docs/maker/canvas-apps/functions/function-lower-upper-proper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Each formula returns a single-column table that contains the converted strings.
5656

5757
| Formula | Description | Result |
5858
| --- | --- | --- |
59-
| **Lower( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;) )** |Converts any letter that's lowercase to uppercase. |<style> img { max-width:none; } </style> ![](media/function-lower-upper-proper/people-table-lower.png) |
59+
| **Lower( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;) )** |Converts any letter that's lowercase to uppercase. | ![](media/function-lower-upper-proper/people-table-lower.png) |
6060
| **Upper( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;) )** |Converts any letter that's lowercase to uppercase. |![](media/function-lower-upper-proper/people-table-upper.png) |
6161
| **Proper( ShowColumns(&nbsp;People,&nbsp;"Address"&nbsp;) )** |Converts any first letter of a word that's lowercase to uppercase, and converts any other letter that's uppercase to lowercase. |![](media/function-lower-upper-proper/people-table-proper.png) |
6262

powerapps-docs/maker/canvas-apps/functions/function-numericals.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ The examples in this section use a [data source](../working-with-data-sources.md
6464

6565
| Formula | Description | Result |
6666
| --- | --- | --- |
67-
| **Abs(&nbsp;ValueTable&nbsp;)** |Returns the absolute value of each number in the table. |<style> img { max-width: none } </style> ![](media/function-numericals/values-abs.png) |
68-
| **Exp(&nbsp;ValueTable&nbsp;)** |Returns *e* raised to the power of each number in the table. |<style> img { max-width: none } </style> ![](media/function-numericals/values-exp.png) |
69-
| **Ln(&nbsp;ValueTable&nbsp;)** |Returns the natural logarithm of each number in the table. |<style> img { max-width: none } </style> ![](media/function-numericals/values-ln.png) |
67+
| **Abs(&nbsp;ValueTable&nbsp;)** |Returns the absolute value of each number in the table. | ![](media/function-numericals/values-abs.png) |
68+
| **Exp(&nbsp;ValueTable&nbsp;)** |Returns *e* raised to the power of each number in the table. | ![](media/function-numericals/values-exp.png) |
69+
| **Ln(&nbsp;ValueTable&nbsp;)** |Returns the natural logarithm of each number in the table. | ![](media/function-numericals/values-ln.png) |
7070
| **Sqrt(&nbsp;ValueTable&nbsp;)** |Returns the square root of each number in the table |![](media/function-numericals/values-sqrt.png) |
7171

7272
### Step-by-step example

0 commit comments

Comments
 (0)