This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var content = ApplicationContext.Services.ContentService.GetById(1051); | |
var data = new GridRowCollection(); | |
string[] nodeIds = {"1051", "1052"}; | |
foreach (string companyNodeId in nodeIds) | |
{ | |
Node node = uQuery.GetNode(companyNodeId); | |
var row = new GridRow(); | |
var companyCell = new GridCell() { DataType = 1034, Alias = "nodePicker", Name = node.Name, Value = node.Id.ToString()}; | |
var permissionCell = new GridCell { DataType = -42, Alias = "permission", Name = "Permission", Value = "7" }; | |
row.Add(companyCell); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ApsisNewsletterProv3API service = new ApsisNewsletterProv3API(); | |
// Register subscriber | |
long result = service.InsertSubscriber(apsisUsername, apsisPassword, email, email, "HTML", "0045", "12345678", apsisListId); |