<?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: retrieving mail field values in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224688#M177818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to use value attribute to get its value&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;input type="text" name="FirstName" value="First Name" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var text = $('#DynamicValueAssignedHere').find('input[name="FirstName"]').val();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Aug 2016 08:34:41 GMT</pubDate>
    <dc:creator>sindhu17</dc:creator>
    <dc:date>2016-08-27T08:34:41Z</dc:date>
    <item>
      <title>retrieving mail field values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224686#M177816</link>
      <description>I have created a workflow using the Designer.&amp;nbsp; I&amp;nbsp; added a MailTask (ie servericeTask where type=mail)I need to be able to pass the final values of the to and from fields of this task to a listener.&amp;nbsp; I attempted by adding an 'end' execution listener as a Java class, but I'm having difficulty figuring</description>
      <pubDate>Wed, 24 Aug 2016 17:05:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224686#M177816</guid>
      <dc:creator>jmzags</dc:creator>
      <dc:date>2016-08-24T17:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: retrieving mail field values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224687#M177817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use expressions with variables in mail task to/from fields. Variables are accessible in the listener too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 05:33:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224687#M177817</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-08-25T05:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: retrieving mail field values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224688#M177818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to use value attribute to get its value&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;input type="text" name="FirstName" value="First Name" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var text = $('#DynamicValueAssignedHere').find('input[name="FirstName"]').val();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2016 08:34:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224688#M177818</guid>
      <dc:creator>sindhu17</dc:creator>
      <dc:date>2016-08-27T08:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: retrieving mail field values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224689#M177819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created an item type with system name SortedNewsList and one field called Dato (of type Date). This item type is only enabled for paragraphs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.gangboard.com/business-intelligence-training/r-programming-training" rel="nofollow noopener noreferrer"&gt;R Programming Online Training&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; |&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://www.gangboard.com/business-intelligence-training/sas-training" rel="nofollow noopener noreferrer"&gt;SAS Online Training&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; |&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://www.gangboard.com/app-programming-scripting-training/android-training" rel="nofollow noopener noreferrer"&gt;Android Online Training&lt;/A&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;A href="https://www.gangboard.com/database-training/weblogic-server-training" rel="nofollow noopener noreferrer"&gt;Weblogic Online Training&lt;/A&gt;&lt;SPAN&gt; |&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://www.gangboard.com/database-training/mongodb-training" rel="nofollow noopener noreferrer"&gt;MongoDB Online Training&lt;/A&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;A href="https://www.gangboard.com/database-training/mongodb-admin-training" rel="nofollow noopener noreferrer"&gt;MongoDB Admin Online Training&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; |&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://www.gangboard.com/database-training/sql-training" rel="nofollow noopener noreferrer"&gt;SQL Online Training&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I am using a Razor template for a news list to retrieve the value of the Dato field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The context of the news list module rendering is a paragraph that is an instance of my paragraph item type just described.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first lines of my Razor template look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var pageview = Dynamicweb.Frontend.PageView.Current();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var id = pageview.CurrentParagraph.ID;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var item = Dynamicweb.Content.Items.ItemManager.Storage.GetById("SortedNewsList", id.ToString());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var date = item["Dato"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first two lines are allright. The id variable holds the ID of the current paragraph.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I want to use that ID to retrieve the item ( line 3 ) and get the value of the Dato field ( line 4).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I try to render @date in the markup, I just get a null reference exception.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 13:33:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-mail-field-values/m-p/224689#M177819</guid>
      <dc:creator>alberthandsome</dc:creator>
      <dc:date>2016-09-26T13:33:23Z</dc:date>
    </item>
  </channel>
</rss>

