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 403 posts 1520 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

     

  • Comment author was deleted

    Jan 22, 2015 @ 15:30

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

     

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

Please Sign in or register to post replies

Write your reply to:

Draft