<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Read Only Grid - Setting Page Number</title><link>https://community.appian.com/discussions/f/user-interface/31044/read-only-grid---setting-page-number</link><description>I have a record-backed read only grid with multiple pages (10 rows per page). In the interface the user selects 1 row in the grid, the grid is hidden and input fields are shown, and when the user hits a button the fields are hidden and the grid is refreshed</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123773?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 20:11:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86a0b365-2663-40c9-91cf-b641e7f93643</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;That did it! My grid is now updating while maintaining the current page!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123771?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 19:52:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef315136-81e3-4da0-af7c-fc3842359527</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="51323" url="~/discussions/f/user-interface/31044/read-only-grid---setting-page-number/123770"]Removing the &amp;quot;.data&amp;quot; from the data parameter cause that grid to display a single empty row with the way the column values are currently configured. [/quote]
&lt;p&gt;sorry, i forgot, there&amp;#39;s a bug in the Paging Grid component where it won&amp;#39;t accept a the &amp;quot;map&amp;quot;-typed DataSubset returned by QueryRecordType without manually casting it as a DataSubset (grumble).&amp;nbsp; Luckily this is pretty easy.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;local!gridData: cast(
  typeof(a!dataSubset()),
  a!queryRecordType(
    recordType: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp&amp;#39;,
    fields: {  ...&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123770?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 19:45:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55e4aa0f-0fc3-44eb-bef1-5b8e0c8c9eca</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Removing the &amp;quot;.data&amp;quot; from the data parameter cause that grid to display a single empty row with the way the column values are currently configured. I have not been able to find a way to get the data to populate correctly without that &amp;quot;.data&amp;quot;. I&amp;#39;m also not sure how the grid would use the other meta data contained within that variable. I&amp;#39;ve attached an image of the variable contents below&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/read_5F00_only_5F00_grid_5F00_refresh_5F00_paging_5F00_gridData.png" /&gt;&lt;/p&gt;
&lt;p&gt;The pagingSaveInto parameter is that way because I was exploring the difference between &amp;quot;fv!pagingInfo&amp;quot; and &amp;quot;fv!currentPage&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123768?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 18:03:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:646bfabc-4ad3-487e-bc6c-cae58d7d6fd9</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;AFAIK you shouldn&amp;#39;t be putting &amp;quot;.data&amp;quot; here - you want the grid to consume the entire query result, which contains extra metadata describing the current paging/etc.&amp;nbsp; This *might* be what&amp;#39;s messing you up so far.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1704477650308v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You also wouldn&amp;#39;t need the &amp;quot;pageSize&amp;quot; parameter in this configuration since the pagingInfo handles that.&amp;nbsp; You also wouldn&amp;#39;t pass in an &amp;quot;initial sorts&amp;quot; value - that would also be passed into local!gridPagingInfo if needed.&lt;/p&gt;
&lt;p&gt;And this part is wrong (or at least overwrought).&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1704477723711v2.png" alt=" " /&gt;&lt;br /&gt;It should jus be: &amp;quot;pagingSaveInto: local!gridPagingInfo&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123767?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 17:58:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d89fcd78-2f36-4193-b5ff-6a011d3b3fed</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;local!gridPagingInfo: a!pagingInfo(
    startIndex: 1,
    batchSize: 10
),
local!gridData: a!queryRecordType(
    recordType: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp&amp;#39;,
    fields: {
      &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{25c9c265-5e3b-4b03-8f40-9e09e788b815}adviceid&amp;#39;,
      &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{351098f2-3bd8-40ca-9d8f-2ce3c5162466}equipId&amp;#39;,
      &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{43147ee1-1b62-4046-bf12-31195409a794}recFlushPlan&amp;#39;,
      &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{8aed024e-4792-4f66-9cac-799c04f5838e}recComments&amp;#39;,
      &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.relationships.{ffc37494-c395-4c92-abf4-ee496a2ea7fb}samsSurveyData.fields.{5898e6c1-9b33-4563-a3f8-5e8b77733da3}serviceDescription&amp;#39;
    },
    filters: a!queryLogicalExpression(
      operator: &amp;quot;AND&amp;quot;,
      filters: {
        a!queryFilter(
          field: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{d0c49889-6f08-4eba-bc9f-d04cadb88d17}custId&amp;#39;,
          operator: &amp;quot;=&amp;quot;,
          value: ri!custID
        ),
        a!queryFilter(
          field: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{69bb655b-6792-4d0c-882d-e808d9162b7d}locId&amp;#39;,
          operator: &amp;quot;=&amp;quot;,
          value: ri!locID
        )
      },
      ignoreFiltersWithEmptyValues: true
    ),
    pagingInfo: local!gridPagingInfo,
    fetchTotalCount: true()
),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Above is the code for my two local variables. &amp;quot;gridPagingInfo&amp;quot; stores the paging info from the grid and is currently configured with a hard coded starting value to prevent an error on first load. &amp;quot;gridData is used as the data source for the grid.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!gridField(
    label: &amp;quot;Recommendation Grid&amp;quot;,
    labelPosition: &amp;quot;COLLAPSED&amp;quot;,
    data: local!gridData.data,
    /*a!recordData(*/
      /*recordType: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp&amp;#39;,*/
      /*filters: a!queryLogicalExpression(*/
        /*operator: &amp;quot;AND&amp;quot;,*/
        /*filters: {*/
          /*a!queryFilter(*/
            /*field: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{d0c49889-6f08-4eba-bc9f-d04cadb88d17}custId&amp;#39;,*/
            /*operator: &amp;quot;=&amp;quot;,*/
            /*value: ri!custID*/
          /*),*/
          /*a!queryFilter(*/
            /*field: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{69bb655b-6792-4d0c-882d-e808d9162b7d}locId&amp;#39;,*/
            /*operator: &amp;quot;=&amp;quot;,*/
            /*value: ri!locID*/
          /*)*/
        /*},*/
        /*ignoreFiltersWithEmptyValues: true*/
      /*)*/
    /*),*/
    columns: {
      a!gridColumn(
        label: &amp;quot;Equipment Id&amp;quot;,
        sortField: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{351098f2-3bd8-40ca-9d8f-2ce3c5162466}equipId&amp;#39;,
        value: fv!row[&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{351098f2-3bd8-40ca-9d8f-2ce3c5162466}equipId&amp;#39;]
      ),
      a!gridColumn(
        label: &amp;quot;Service Description&amp;quot;,
        sortField: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.relationships.{ffc37494-c395-4c92-abf4-ee496a2ea7fb}samsSurveyData.fields.{5898e6c1-9b33-4563-a3f8-5e8b77733da3}serviceDescription&amp;#39;,
        value: fv!row[&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.relationships.{ffc37494-c395-4c92-abf4-ee496a2ea7fb}samsSurveyData.fields.{5898e6c1-9b33-4563-a3f8-5e8b77733da3}serviceDescription&amp;#39;]
      ),
      a!gridColumn(
        label: &amp;quot;Recommended Part Number&amp;quot;,
        sortField: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{25c9c265-5e3b-4b03-8f40-9e09e788b815}adviceid&amp;#39;,
        value: fv!row[&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{25c9c265-5e3b-4b03-8f40-9e09e788b815}adviceid&amp;#39;]
      ),
      a!gridColumn(
        label: &amp;quot;Recommended Flush Plan&amp;quot;,
        sortField: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{43147ee1-1b62-4046-bf12-31195409a794}recFlushPlan&amp;#39;,
        value: fv!row[&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{43147ee1-1b62-4046-bf12-31195409a794}recFlushPlan&amp;#39;]
      ),
      a!gridColumn(
        label: &amp;quot;Comments&amp;quot;,
        sortField: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{8aed024e-4792-4f66-9cac-799c04f5838e}recComments&amp;#39;,
        value: fv!row[&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{8aed024e-4792-4f66-9cac-799c04f5838e}recComments&amp;#39;]
      )
    },
    /*userFilters: {*/
      /*&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.filters.{3163b259-e8f7-4c1c-87be-c3dd00a7bfbf}recTemp_RecStatusFilter&amp;#39;*/
    /*},*/
    /*showSearchBox: true,*/
    /*showRefreshButton: true,*/
    pageSize: 10,
    initialSorts: a!sortInfo(
      field: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{351098f2-3bd8-40ca-9d8f-2ce3c5162466}equipId&amp;#39;,
      ascending: true()
    ),
    pagingSaveInto: {
      a!save(
        local!gridPagingInfo,
        fv!pagingInfo
      )
    },
    selectable: true(),
    selectionStyle: &amp;quot;ROW_HIGHLIGHT&amp;quot;,
    selectionValue: local!selectionValue,
    selectionSaveInto: {
      local!selectionValue,
      a!save(
        local!editRow,
        fv!selectedRows[&amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp.fields.{351098f2-3bd8-40ca-9d8f-2ce3c5162466}equipId&amp;#39;][1]
      ),
      a!save(
        ri!recInfo,
        a!queryRecordByIdentifier(
          recordType: &amp;#39;recordType!{100a00b9-8c15-4fca-8f8e-00c7044acb96}SR RecommendationTemp&amp;#39;,
          identifier: local!selectionValue[1]
        )
      )
    },
    maxSelections: 1,
    validations: {},
    borderStyle: &amp;quot;STANDARD&amp;quot;,
    refreshOnVarChange: local!gridUpdate,
    refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;
  ),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Above is the code for my grid currently.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123766?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 17:48:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a22fd807-d00b-49f0-ba31-e05b7a718089</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="51323" url="~/discussions/f/user-interface/31044/read-only-grid---setting-page-number/123765"] The &amp;quot;pagingSaveInto&amp;quot; parameter only saves the paging info to that local variable, it doesn&amp;#39;t affect the paging of the grid.[/quote]
&lt;p&gt;It will as long as you&amp;#39;ve correctly used the paging info local variable as the paging info for your query that you&amp;#39;re using as the grid&amp;#39;s data source.&lt;/p&gt;
&lt;p&gt;Mind posting a code snippet of what you&amp;#39;re currently trying?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123765?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 17:42:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a1a81e1-cd03-4fab-8f20-987afe3febb8</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Then how do I use that local variable to set the page of the grid? The &amp;quot;pagingSaveInto&amp;quot; parameter only saves the paging info to that local variable, it doesn&amp;#39;t affect the paging of the grid. The only way I can see to affect the page of the grid with that paging info is to use the paging info in the local variable that provides the data to the grid, so that it only pulls that data for the current page, then adjust that with custom grid navigation buttons.&lt;/p&gt;
&lt;p&gt;Am I missing something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123764?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 17:32:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2ccff0b-daa2-453c-b6da-62d46b23bcee</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="51323" url="~/discussions/f/user-interface/31044/read-only-grid---setting-page-number/123761"]Do I need to create my own back/forward buttons to control the grid?[/quote]
&lt;p&gt;the built-in paging controls will work for this as long as you point your &amp;quot;pagingSaveInto&amp;quot; parameter at the Paging Info local variable you&amp;#39;ve set up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123761?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 17:17:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3ef40b0-4fd3-4865-b702-1ce0ae234e82</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;I attempted to adjust the grid as you suggested (using a local variable as the data source and another one to store paging info), however, I&amp;#39;m still unsure how to use the paging info to get the result I&amp;#39;m looking for. If I use the paging info in the data source local variable the grid is reduced to one page since the batch size of the grid is 10. If I just use the start index, the user can never go back to previous data since the query won&amp;#39;t pull it.&lt;/p&gt;
&lt;p&gt;Do I need to create my own back/forward buttons to control the grid?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123759?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 17:13:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46847428-d58c-468e-ab97-a333cdc1543f</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;I attempted to create a related action to update the record and use it in a &amp;quot;recordActionField&amp;quot; in the grid. While I got the record to update the grid did not update properly, even with &amp;quot;refreshAfter: Record_Action&amp;quot; enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123709?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 21:22:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89999fdd-c64d-4d00-b6dd-1d71e46ebe23</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;I was afraid of that. I do have a user filter that I use with this grid, but I could always recreate it outside the grid if I need to (it&amp;#39;ll just look a little less clean). I&amp;#39;m going to try and test using record actions from the grid to update the data, and see if that solves my problem. If it doesn&amp;#39;t, I&amp;#39;ll try doing as you suggested.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123708?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 21:20:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe791c81-095f-4566-b829-d04c09757417</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Yes, the changes are written via a Write Records function. However this is not a record action initiated by the grid, so the refreshAfter: Record_Action does not not update the grid.&lt;/p&gt;
&lt;p&gt;However, if I change how my interface works to utilize record actions to update the data, that may solve my problem. I may try to test that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123707?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 21:08:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c440633-09ac-4bb8-8f68-79d437f6499f</guid><dc:creator>mathurambika0708</dc:creator><description>&lt;p&gt;Okay, understood. After the changes are made, I believe that you are updating the record using the &amp;#39;Write Records&amp;#39; smart service/function. In this scenario, do you actually need to configure &amp;#39;refresh on variable change,&amp;#39; or is it not already handled by &amp;#39;refreshAfter: RECORD_ACTION&amp;#39;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123706?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 20:53:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a800bca-21bc-4cb7-9ac7-83d41ad364d1</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I assume it might only work when you query your data into a local variable and use that as the grid&amp;#39;s &amp;quot;data&amp;quot; source, as opposed to passing the record type directly into the grid.&amp;nbsp; So first you&amp;#39;d set up one local variable to hold the pagingInfo, then you&amp;#39;d set up one to hold the QueryRecordType result, then that second variable gets set as the grid&amp;#39;s data - it&amp;#39;s slightly more complicated but not all that hard if your requirement is solid (it&amp;#39;ll end up functioning a bit more like grids used to work in older versions).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123705?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 20:45:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aeb1f412-0d72-4d56-bdeb-cae6970ef7eb</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Mike,&lt;/p&gt;
&lt;p&gt;Where in the gridField component would I use the saved paging info? I can&amp;#39;t find any parameter that seems to allow me to do that.&lt;/p&gt;
&lt;p&gt;I have updated the original question with the code for my grid component.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123704?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 20:44:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:24a2b2b9-7c59-4330-8c76-2103715b7b4b</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Mathurambika,&lt;/p&gt;
&lt;p&gt;I believe the reason my grid does not maintain the current page is because it is refreshed using the refreshOnVarChange parameter. This appears to reset the paging of the grid. I have edited the original question to include my grid SAIL code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123697?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 18:56:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:678aa3ae-a5f8-43ec-955d-b332b49d8286</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Store your PagingInfo in a local variable and use that instead of using the built-in paging via the grid configuration.&amp;nbsp; That way it&amp;#39;ll be persisted until the form is hard-reloaded at the very least.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read Only Grid - Setting Page Number</title><link>https://community.appian.com/thread/123693?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 18:11:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b4743e4b-04f2-4c30-a2a2-de12f9f56732</guid><dc:creator>mathurambika0708</dc:creator><description>&lt;p&gt;Hi, ideally this should work without any additional configuration. I have tried with the simple grid and added the show-when logics on the grid selection and button &amp;#39;save into&amp;#39; parameter. Please refer to the below code:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!sectionLayout(
    label: &amp;quot;Section&amp;quot;,
    contents: {
      a!textField(label: &amp;quot;Test&amp;quot;, showWhen: ri!showTextField),
      a!buttonArrayLayout(
        showWhen: ri!showTextField,
        buttons: {
          a!buttonWidget(
            label: &amp;quot;Button&amp;quot;,
            style: &amp;quot;OUTLINE&amp;quot;,
            saveInto: { a!save(ri!showTextField, false()) }
          )
        },
        align: &amp;quot;START&amp;quot;,
        marginBelow: &amp;quot;NONE&amp;quot;
      ),
      a!gridField(
        label: &amp;quot;Read-only Grid&amp;quot;,
        labelPosition: &amp;quot;ABOVE&amp;quot;,
        data: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case&amp;#39;,
        columns: {
          a!gridColumn(
            label: &amp;quot;Name&amp;quot;,
            sortField: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{2aaca276-76e1-4f0c-8fd2-d45dceb89a41}name&amp;#39;,
            value: a!richTextDisplayField(
              value: {
                a!richTextItem(
                  text: {
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{2aaca276-76e1-4f0c-8fd2-d45dceb89a41}name&amp;#39;]
                  },
                  link: a!recordLink(
                    recordType: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case&amp;#39;,
                    identifier: fv!identifier
                  ),
                  linkStyle: &amp;quot;STANDALONE&amp;quot;,
                  size: &amp;quot;MEDIUM&amp;quot;
                ),
                char(10),
                a!richTextItem(
                  text: {
                    a!richTextItem(
                      text: {
                        a!richTextIcon(
                          icon: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{11709256-3edf-4d81-9e94-e1f0f84b2fdc}nzcCaseType.fields.{eb9aab61-9ad4-4084-a500-f1ef8c3169a2}icon&amp;#39;]
                        ),
                        &amp;quot; &amp;quot;
                      }
                    ),
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{11709256-3edf-4d81-9e94-e1f0f84b2fdc}nzcCaseType.fields.{9148c2dc-76f0-4c1d-a31c-d1fb3e656c81}label&amp;#39;],
                    if(a!isPageWidth(&amp;quot;PHONE&amp;quot;), char(10), &amp;quot; | &amp;quot;),
                    a!richTextIcon(icon: &amp;quot;calendar&amp;quot;),
                    &amp;quot; &amp;quot;,
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{b5774e8b-a9d0-45c2-85c0-10fec364c27f}createdOn&amp;#39;]
                  },
                  color: &amp;quot;SECONDARY&amp;quot;
                )
              }
            ),
            width: if(a!isPageWidth(&amp;quot;PHONE&amp;quot;), &amp;quot;MEDIUM&amp;quot;, &amp;quot;AUTO&amp;quot;)
          ),
          a!gridColumn(
            label: &amp;quot;Priority&amp;quot;,
            sortField: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{681e9c6e-ae24-411e-953b-85e532fb564a}id&amp;#39;,
            value: a!richTextDisplayField(
              value: {
                a!richTextIcon(
                  icon: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{60932b18-0069-495f-9562-2a4b416865af}nzcCasePriority.fields.{daf18ff8-63c9-41c5-85a2-5409e8c9a9f4}icon&amp;#39;],
                  caption: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{60932b18-0069-495f-9562-2a4b416865af}nzcCasePriority.fields.{2409d34c-7f91-4286-a450-fdf93e03a82d}label&amp;#39;],
                  color: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{60932b18-0069-495f-9562-2a4b416865af}nzcCasePriority.fields.{ff03cf25-d27d-4323-8975-c621075bab2c}color&amp;#39;],
                  size: &amp;quot;LARGE&amp;quot;
                )
              }
            ),
            align: &amp;quot;CENTER&amp;quot;,
            width: if(
              a!isPageWidth(&amp;quot;PHONE&amp;quot;),
              &amp;quot;NARROW&amp;quot;,
              &amp;quot;NARROW_PLUS&amp;quot;
            )
          ),
          a!gridColumn(
            label: &amp;quot;Status&amp;quot;,
            sortField: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{c352c6b4-4199-4eb5-b473-0b268648cb10}statusId&amp;#39;,
            value: a!richTextDisplayField(
              value: {
                a!richTextIcon(
                  icon: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{59de7399-85e5-4db2-ae13-1590f2955b36}nzcCaseStatus.fields.{199a0b1c-e902-490d-802d-549f85be0e5e}icon&amp;#39;],
                  caption: if(
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{c352c6b4-4199-4eb5-b473-0b268648cb10}statusId&amp;#39;] = cons!NZC_TASK_GROUP_STATUS_ID,
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{d644a43d-f482-4b9b-99fb-a9052050e902}nzcTaskGroup.fields.{922c5189-6e56-4af0-896e-ee1319da2ff0}name&amp;#39;],
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{59de7399-85e5-4db2-ae13-1590f2955b36}nzcCaseStatus.fields.{02b1e5ad-db00-4b4c-a86a-6ca557c5eec3}label&amp;#39;]
                  ),
                  color: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{59de7399-85e5-4db2-ae13-1590f2955b36}nzcCaseStatus.fields.{9eae4879-2cfd-43db-a72c-1e641646e807}color&amp;#39;],
                  size: if(
                    a!isPageWidth(&amp;quot;PHONE&amp;quot;),
                    &amp;quot;MEDIUM_PLUS&amp;quot;,
                    &amp;quot;STANDARD&amp;quot;
                  )
                ),
                a!richTextItem(
                  text: &amp;quot; &amp;quot; &amp;amp; if(
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{c352c6b4-4199-4eb5-b473-0b268648cb10}statusId&amp;#39;] = cons!NZC_TASK_GROUP_STATUS_ID,
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{d644a43d-f482-4b9b-99fb-a9052050e902}nzcTaskGroup.fields.{922c5189-6e56-4af0-896e-ee1319da2ff0}name&amp;#39;],
                    fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{59de7399-85e5-4db2-ae13-1590f2955b36}nzcCaseStatus.fields.{02b1e5ad-db00-4b4c-a86a-6ca557c5eec3}label&amp;#39;]
                  ),
                  showWhen: not(a!isPageWidth(&amp;quot;PHONE&amp;quot;))
                )
              },
              preventWrapping: true
            ),
            align: if(
              a!isPageWidth(&amp;quot;PHONE&amp;quot;),
              &amp;quot;CENTER&amp;quot;,
              &amp;quot;START&amp;quot;
            ),
            width: if(
              a!isPageWidth(&amp;quot;PHONE&amp;quot;),
              &amp;quot;NARROW&amp;quot;,
              &amp;quot;MEDIUM&amp;quot;
            )
          ),
          a!gridColumn(
            label: &amp;quot;Creator&amp;quot;,
            sortField: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{9405aee9-2e36-4ccf-84fa-b1a090f1eb39}createdBy&amp;#39;,
            value: a!richTextDisplayField(
              value: {
                a!richTextItem(
                  /* Change this when we hook the relationship to technicians or w/e*/
                  text: a!localVariables(
                    local!pomSplit: proper(
                      split(
                        fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{a8983e1b-17a5-4d85-a3b4-1f4a9d8da959}nzcUtilityPlant.fields.{f0a402fa-db36-4741-ae56-e827ee79fdd0}plantOwner&amp;#39;],
                        &amp;quot;.&amp;quot;
                      )
                    ),
                    if(
                      isusernametaken(
                        fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{9405aee9-2e36-4ccf-84fa-b1a090f1eb39}createdBy&amp;#39;]
                      ),
                      user(
                        fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{9405aee9-2e36-4ccf-84fa-b1a090f1eb39}createdBy&amp;#39;],
                        &amp;quot;lastName&amp;quot;
                      ) &amp;amp; &amp;quot;, &amp;quot; &amp;amp; user(
                        fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.fields.{9405aee9-2e36-4ccf-84fa-b1a090f1eb39}createdBy&amp;#39;],
                        &amp;quot;firstName&amp;quot;
                      ),
                      local!pomSplit[2] &amp;amp; &amp;quot;, &amp;quot; &amp;amp; local!pomSplit[1]
                    )
                  ),
                  size: &amp;quot;MEDIUM&amp;quot;
                ),
                char(10),
                a!richTextItem(
                  text: {
                    a!richTextImage(
                      image: a!documentImage(
                        rule!NZC_RegionImage(
                          regionId: fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{a8983e1b-17a5-4d85-a3b4-1f4a9d8da959}nzcUtilityPlant.fields.{7200577d-e5d9-422f-9807-5418d197c4d1}regionId&amp;#39;]
                        ).flagImage
                      )
                    )
                  },
                  size: &amp;quot;SMALL&amp;quot;
                ),
                &amp;quot; &amp;quot;,
                fv!row[&amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.relationships.{a8983e1b-17a5-4d85-a3b4-1f4a9d8da959}nzcUtilityPlant.fields.{3bb890a3-03d3-417c-8649-affcafda7ab6}plantName&amp;#39;]
              }
            ),
            align: &amp;quot;START&amp;quot;,
            width: if(
              a!isPageWidth(&amp;quot;PHONE&amp;quot;),
              &amp;quot;NARROW_PLUS&amp;quot;,
              &amp;quot;AUTO&amp;quot;
            )
          )
        },
        showWhen: or(
          ri!showTextField = false(),
          a!isNullOrEmpty(ri!showTextField)
        ),
        selectable: true,
        selectionStyle: &amp;quot;ROW_HIGHLIGHT&amp;quot;,
        selectionValue: ri!id,
        selectionSaveInto: { ri!id, a!save(ri!showTextField, true) },
        validations: {},
        refreshAfter: &amp;quot;RECORD_ACTION&amp;quot;,
        showSearchBox: true,
        showRefreshButton: true,
        recordActions: {
          a!recordActionItem(
            action: &amp;#39;recordType!{432051af-6600-4300-be7c-4ccc4886d2c8}NZC Case.actions.{368a6eb7-f045-4f57-9804-abc4ee6ee6b9}newCase&amp;#39;
          )
        }
      )
    }
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>