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.
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:-
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
Are you running Umbraco Forms v4, then try doing it this way
var xml = record.ToXml(new System.Xml.XmlDocument());
is working on a reply...
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.