<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Object Report - decoding ^(yearabbr) (or if.fieldvalue) in Community Forum</title>
    <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-decoding-yearabbr-or-if-fieldvalue/m-p/367640#M15893</link>
    <description>&lt;P&gt;This seems to only be an issue with ^(yearabbr) and object reports, from what I can see. I cannot replicate this behavior on normal HTML pages or with other DAT tags.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a work around by using the ^(abbryearterm) and matching it with "^(customfield) YR" in a decode statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this helps someone, but I'd wager the chances are slim.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 15:03:38 GMT</pubDate>
    <dc:creator>JustinB1</dc:creator>
    <dc:date>2022-07-19T15:03:38Z</dc:date>
    <item>
      <title>Object Report - decoding ^(yearabbr) (or if.fieldvalue)</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-decoding-yearabbr-or-if-fieldvalue/m-p/367417#M15890</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to match a value to the ^(yearabbr) DAT tag, but I'm noticing that it has trailing whitespace at the end of it, despite not having that whitespace in the actual value (under district &amp;gt; years &amp;amp; terms).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you cannot use scripting to trim the whitespace within an object report, how can I match this value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of what I've tried:&lt;/P&gt;&lt;P&gt;^(decode;^(yearabbr);22-23;Year is 22-23; ) -- This does not match the value&lt;/P&gt;&lt;P&gt;^(yearabbr;if.fieldvalue.22-23.then=Test) -- This does not match the value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried adding spaces to the end of '22-23' and tried wrapping it quotes with and without the space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately, I'm trying to match a custom field to the ^(yearabbr) DAT tag, but noticed that it was appending&amp;nbsp; whitespace when testing. I found this by printing &lt;STRONG&gt;^(yearabbr)test&amp;nbsp;&lt;/STRONG&gt;which produces&amp;nbsp;&lt;STRONG&gt;22-23 test&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll continue to troubleshoot, but found this quite odd and thought it might just be me experiencing this. Does anyone have any tips or suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 03:08:36 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-decoding-yearabbr-or-if-fieldvalue/m-p/367417#M15890</guid>
      <dc:creator>JustinB1</dc:creator>
      <dc:date>2022-07-19T03:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Object Report - decoding ^(yearabbr) (or if.fieldvalue)</title>
      <link>https://help.powerschool.com/t5/Community-Forum/Object-Report-decoding-yearabbr-or-if-fieldvalue/m-p/367640#M15893</link>
      <description>&lt;P&gt;This seems to only be an issue with ^(yearabbr) and object reports, from what I can see. I cannot replicate this behavior on normal HTML pages or with other DAT tags.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a work around by using the ^(abbryearterm) and matching it with "^(customfield) YR" in a decode statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this helps someone, but I'd wager the chances are slim.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 15:03:38 GMT</pubDate>
      <guid>https://help.powerschool.com/t5/Community-Forum/Object-Report-decoding-yearabbr-or-if-fieldvalue/m-p/367640#M15893</guid>
      <dc:creator>JustinB1</dc:creator>
      <dc:date>2022-07-19T15:03:38Z</dc:date>
    </item>
  </channel>
</rss>

