Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul de Quant 394 posts 1477 karma points
    Jan 09, 2015 @ 11:22
    Paul de Quant
    0

    Problem with RecordsViewer

    Hello,

    I'm running the latest release version of Umbraco 7.2.1 and Contour. I'm trying to create a new Workflow, but from all the examples I've seen they refer to:-

    RecordsViewer viewer = new RecordsViewer();

    The only problem is, I can't build the solution because my solution doesn't know what RecordsViewer is.

    Here is the list of my usings:-

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Xml;
    using System.Xml.XPath;
    using Umbraco.Forms.Core;
    using Umbraco.Forms.Core.Attributes;
    using Umbraco.Forms.Core.Enums;
    using Umbraco.Forms.Data;
    using Umbraco.Forms.Data.Storage;

    And I have added references to:-

    • businesslogic
    • umbraco
    • Umbraco.Core
    • Umbraco.Forms.Core
    • Umbraco.Forms.UI

    Can someone tell me what I'm missing please, or if this an old way of doing it, waht the new way is.

    Many Thanks

    Paul

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 22, 2015 @ 15:30
    Tim Geyssens
    0

    Are you running Umbraco Forms v4, then try doing it this way 

     

    var xml = record.ToXml(new System.Xml.XmlDocument());

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies