Meta tags:
description= Web Content Management Concepts and Strategies;
Headings (most frequently used words):
sitecore, with, and, in, the, rendering, posts, web, content, management, delivery, cobal, renderings, personalizing, staticlly, based, componenets, rules, engine, mvc, area, controller, type, extending, rocks, creating, contenttreecommand, server, component, adding, site, filters, to, dms, reports, federated, authentication, windows, identity, foundation, setting, timeout, on, virtual, user, html5, video, multiple, sites, one, authoring, domain, get, random, item, from, xslt, top, archives, recent,
Text of the page (most frequently used words):
the (298), #sitecore (196), and (97), using (77), item (62), string (52), with (50), system (50), true (49), site (48), this (48), web (44), new (44), that (40), user (39), name (37), context (34), you (33), add (32), rendering (30), for (30), return (29), rocks (26), public (25), content (24), authentication (24), database (24), null (24), get (23), code (23), your (23), server (22), type (22), siteinfo (21), set (20), sites (19), class (19), false (18), method (18), domain (17), was (17), have (15), authoring (15), under (15), items (15), not (15), page (15), info (15), create (14), area (14), one (14), identity (14), here (14), when (14), from (13), config (13), but (13), hostname (13), step (13), 2011 (12), video (12), data (12), namespace (12), links (12), url (12), claims (12), xmltextwriter (12), log (11), component (11), private (11), static (11), file (11), use (11), override (11), out (11), filter (11), clone (11), itemuri (11), rule (11), like (10), filed (10), will (10), request (10), dictionary (10), key (10), all (10), extranet (10), website (9), now (9), mvc (9), controller (9), rules (9), xml (9), work (9), list (9), rootpath (9), startitem (9), support (9), users (9), token (9), delivery (8), based (8), tagged (8), prototypes (8), select (8), after (8), can (8), source (8), isnullorempty (8), should (8), login (8), also (8), found (8), just (8), modules (8), role (8), div (8), execute (8), renderingitem (8), comments (7), management (7), filters (7), cobal (7), 2012 (7), xslt (7), virtual (7), linq (7), had (7), other (7), need (7), added (7), custom (7), are (7), preview (7), siteresolver (7), first (7), virtualfolder (7), physicalfolder (7), home (7), allowdebug (7), cachehtml (7), htmlcachesize (7), 10mb (7), registrycachesize (7), viewstatecachesize (7), xslcachesize (7), 5mb (7), filtereditemscachesize (7), 2mb (7), enablepreview (7), enablewebedit (7), enabledebugger (7), disableclientdata (7), site2 (7), following (7), some (7), settings (7), aspx (7), solution (7), roles (7), update (7), visualstudio (7), selecteditem (7), databaseuri (7), cloning (7), reference (7), com (6), write (6), comment (6), reports (6), windows (6), collections (6), generic (6), text (6), query (6), try (6), net (6), linkprovider (6), pagemode (6), option (6), editor (6), sitecontext (6), _siteresolvingtable (6), object (6), resolve (6), information (6), site3 (6), author (6), below (6), would (6), forms (6), sts (6), there (6), see (6), var (6), fedauthenticator (6), change (6), modify (6), values (6), command (6), dialog (6), itemid (6), parameters (6), template (6), control (6), datasource (6), wordpress (5), report (5), adding (5), dms (5), creating (5), engine (5), march (5), random (5), multiple (5), setting (5), foundation (5), extensions (5), next (5), could (5), folder (5), leave (5), providers (5), where (5), base (5), resolvetargetsite (5), provider (5), pipeline (5), selectsingleitem (5), _sites (5), context2 (5), training (5), root (5), allows (5), two (5), http (5), security (5), assert (5), runtimesettings (5), didn (5), module (5), ping (5), browse (5), test (5), claim (5), outputidentity (5), application (5), project (5), analytics (5), selecteditems (5), requests (5), tostring (5), created (5), xmldocument (5), stringwriter (5), areas (5), own (5), already (4), extending (4), renderings (4), posts (4), october (4), november (4), 2013 (4), html5 (4), timeout (4), federated (4), top (4), xpath (4), configuration (4), count (4), diagnostics (4), sure (4), siteresolving (4), because (4), want (4), options (4), sc_site (4), linkhelper (4), fix (4), mode (4), normal (4), void (4), current (4), keygetter (4), into (4), each (4), works (4), controls (4), ogg (4), does (4), mediatype (4), mimetype (4), getting (4), our (4), used (4), sso (4), cookie (4), nexus (4), api (4), sample (4), back (4), secured (4), then (4), authorization (4), tutorial (4), install (4), principal (4), completed (4), working (4), field (4), easy (4), parameter (4), selected (4), response (4), result (4), activecontenttree (4), call (4), make (4), actions (4), renderingrule (4), conditionalrenderings (4), isnotnull (4), references (4), rulecontext (4), required (3), sign (3), contenttreecommand (3), personalizing (3), staticlly (3), componenets (3), 2010 (3), december (3), january (3), may (3), july (3), older (3), client (3), createemptyiterator (3), navigator (3), cms (3), asp (3), about (3), clear (3), kernel (3), ispageeditor (3), ispreview (3), appendoption (3), link (3), pipelines (3), httprequest (3), httpcontext (3), sc_itemid (3), place (3), begin (3), _syncroot (3), siteresolvingtable (3), length (3), foreach (3), gettargethostname (3), format (3), targethostname (3), exists (3), how (3), came (3), without (3), three (3), setup (3), things (3), media (3), specify (3), able (3), play (3), latest (3), having (3), trouble (3), inside (3), types (3), open (3), adventureworksmembership (3), formsauthenticationprovider (3), accounts (3), bool (3), being (3), currently (3), only (3), logged (3), parse (3), once (3), session (3), integrating (3), looks (3), location (3), path (3), identitymodel (3), version (3), point (3), package (3), claimtypes (3), send (3), their (3), fields (3), insert (3), target (3), targetitem (3), databasename (3), tree (3), getresultvalue (3), dburi (3), xmlnode (3), plug (3), plugins (3), writestartelement (3), writestring (3), writeendelement (3), error (3), must (3), renderingruleitem (3), personalize (3), manage (2), view (2), subscribed (2), subscribe (2), blog (2), april (2), 2014 (2), readonly (2), emptynavigator (2), randominstance (2), xpathnodeiterator (2), int (2), skip (2), factory (2), catch (2), exception (2), message (2), register (2), extension (2), wrote (2), randomly (2), something (2), teaser (2), download (2), shared (2), resolver (2), multi (2), value (2), last (2), problem (2), environment (2), side (2), linkmanager (2), defaultprovider (2), addaspxextension (2), alwaysincludeserverurl (2), encodenames (2), languageembedding (2), asneeded (2), languagelocation (2), filepath (2), shortenurls (2), usedisplayname (2), section (2), getitemurl (2), getdynamicurl (2), hit (2), buttons (2), correct (2), another (2), processor (2), process (2), args (2), querystring (2), sitecontextfactory (2), delegate (2), paths (2), fullpath (2), startswith (2), getsiteresolvingtable (2), tolowerinvariant (2), label_00ae (2), referenceequals (2), lock (2), buildsiteresolvingtable (2), getterarray (2), getter (2), linkbuilder (2), defined (2), order (2), resolving (2), else (2), helper (2), what (2), including (2), looking (2), host (2), editing (2), resolves (2), doesn (2), contain (2), edit (2), pointing (2), training65 (2), notice (2), entry (2), include (2), did (2), approach (2), help (2), urls (2), binding (2), via (2), src (2), files (2), m4v (2), mp4 (2), browsers (2), any (2), worked (2), forum (2), sdn (2), storemetadata (2), isvirtual (2), passed (2), issues (2), passes (2), wasn (2), persisting (2), read (2), instead (2), initialize (2), wssessionauthenticationmodule (2), systems (2), allow (2), lot (2), much (2), over (2), authenticated (2), access (2), sends (2), existing (2), inheritance (2), shell (2), run (2), deny (2), wsfederationauthenticationmodule (2), microsoft (2), they (2), replace (2), www (2), codeproject (2), articles (2), 278940 (2), wif (2), part (2), visual (2), studio (2), admin (2), protected (2), scope (2), throw (2), claimsidentity (2), issue (2), registered (2), assign (2), everything (2), more (2), made (2), done (2), button (2), menu (2), visits (2), multisite (2), sql (2), example (2), named (2), compile (2), commands (2), group (2), canexecute (2), contenttreecontext (2), executes (2), iitem (2), contentitemid (2), contentitemuri (2), show (2), selectitemdialog (2), dataservice (2), uri (2), executecompleted (2), commented (2), rename (2), handle (2), doing (2), loads (2), assemblies (2), assembly (2), bin (2), sourceitemid (2), targetitemid (2), destination (2), item2 (2), returns (2), has (2), route (2), areacontrollerrunner (2), action (2), staticrendering (2), default (2), webcontrols (2), onload (2), cannot (2), renderingreference (2), conditionalrenderingsrulecontext (2), statically (2), placed (2), flexible (2), mainframe (2), developers (2), concepts (2), strategies (2), started, design, email, loading, collapse, bar, subscriptions, reader, privacy, account, free, recent, february, august, september, archives, xsl, xslhelper, xpathnavigator, getrandomresult, selectitems, itemnavigator, createitemnavigator, fatal, compiling, transformation, child, takes, selects, times, display, copying, posting, painfull, wouldn, expect, piece, notes, switching, while, probably, overrode, urloptions, linkurloptions, contains, appends, pageditor, displayed, click, loses, httprequestbeing, right, httprequestargs, getsitecontext, updatepaths, startpath, containskey, lastindexof, substring, goto, ienumerable, fileutil, makepath, warn, property, take, participation, typeof, predicate, indexofany, char, empty, remembered, cross, reflected, mostly, copy, pasta, label, relying, anything, contained, wrong, above, correctly, others, names, start, iis, bindings, authroing, node, turn, off, achieve, four, modes, alleviate, pain, push, configs, isn, huge, deal, 100, dns, entries, bookmarks, authors, webconfig, fine, enviornment, seperate, dependent, sample_h264, sample_ogg, browser, element, codec, same, codecs, those, formats, ie9, versions, chrome, tested, mobile, devices, tickets, trick, mime, app_config, mimetypes, thread, sdn5, showpost, pageindex, postid, 21977, noted, slidingexpiration, whole, worms, none, aspxauth, cookieless, usecookies, securitymodel, argumentnotnull, formsauthentication, setauthcookie, userruntimesettings, clientcontext, setvalue, sc_usr_, serialize, overwrote, variable, customer, expiration, manager, load, expires, supporting, single, yet, implemented, every, time, sent, improvement, assigned, why, lives, changed, persist, uses, saving, getcurrentuser, federatedauthenticationprovider, prevent, overriding, postauthenticaterequest, removed, authenticate, exits, nice, obfuscated, figuring, forces, less, took, easier, both, fighting, threads, located, fold, expected, led, portal, needed, overwrite, wssessionmodule, userresolver, denied, tokenrequestor, ideally, processors, nothing, review, helpful, layout, redirected, issuer, brought, yourwebsite, cookies, remove, pre, front, end, permissions, break, everyone, grant, enable, enheritance, continue, script, validations, webserver, resources, uploadwatcher, sitecoreuploadwatcher, sessionauthenticationmodule, culture, neutral, publickeytoken, 31bf3856ad364e35, precondition, managedhandler, httpmodule, sitecorehttpmodule, move, fire, fedutil, exe, updateinstallationwizard, iclaimsidentity, getoutputclaimsidentity, iclaimsprincipal, requestsecuritytoken, argumentnullexception, todo, too, reflect, requirement, customsecuritytokenservice, writes, exist, mock, written, going, suggest, basic, before, development, proved, challenging, than, thank, owain, jones, kern, herskind, nightingale, ivan, sharamok, suggestions, past, few, months, adfs, grown, ones, way, logging, directly, authenticates, encrypted, typically, requesting, containing, credentials, known, saml, https, marketplace, adfsauthenticator, engagement, column, queries, predefined, them, accordingly, columnname, valuelistfilter, marketing, center, enviornments, quite, little, instance, symposium, contenttrees, selectitem, iitemselectioncontextextensions, dataservices, commandbase, sortingvalue, 2300, enables, disables, pushed, firstordefault, idmanager, getitemid, popup, showdialog, getsite, executeasync, exectue, event, executeresult, fired, handleexecute, active, contenttree, activecontext, returned, tryparse, guid, newly, locate, xmlvalue, loadxml, selectsinglenode, innertext, parsing, refresh, screen, constructor, sort, scans, appdata, local, marked, certain, attributes, fieldcontrol, etc, getdatabase, cloneto, handlerequest, number, hard, webservice, processing, components, sit, websites, completely, extensible, itself, explorer, personally, think, makes, portable, projects, extend, sitecoreareas, causes, getrenderer, templates, inherit, requestcontext, routedata, datatokens, big, pass, colleciton, important, line, html, areacontrollerrender, checks, inherits, areacontrollerrenderer, renderer, areacontroller, classes, describe, saw, couple, weeks, understand, around, expecting, problems, linking, however, recomend, strongly, entering, perhaps, updated, well, post, available, still, runat, 2b556b84, 364a, 4ab3, a64c, 933787d19619, 11bd1b9f, a953, 4f80, 8692, 4663b6db4c78, finally, rendereing, tagprefix, pages, htmlcontrols, layouts, webcontrol, ishidden, eventargs, defaults, rulelist, rulefactory, parserules, getvalue, hide, getcontrol, which, adminstrator, conditional, decided, attempt, quick, rewrite, realized, per, someone, forums, asked, thought, come, course, longer, uncategorized, pretty, good, very, implement, due, getrendering, extended, as400, witch, runs, calls, rendered, displayfield, wish, avoid, razor, generation, retrained, supports, search,
Text of the page (random words):
s to clone in the requests folder 3 change the namespace to sitecore rocks server requests cloning 4 use the following commented code using system io using system xml using sitecore data using sitecore data items using system using sitecore configuration namespace sitecore rocks server requests cloning public class clone public string execute string databasename string sourceitemid string targetitemid string databaseuri stringwriter stringwriter new stringwriter xmltextwriter xmltextwriter new xmltextwriter stringwriter xmltextwriter writestartelement result try clone the item database database factory getdatabase databasename item item database selectsingleitem sourceitemid item destination database selectsingleitem targetitemid item item2 item cloneto destination write out the database uri xmltextwriter writestartelement database xmltextwriter writestring databaseuri xmltextwriter writeendelement write out the new item id xmltextwriter writestartelement item xmltextwriter writestring item2 id tostring xmltextwriter writeendelement catch exception ex write out an error if we have one and rocks will throw the error xmltextwriter writestring error ex message xmltextwriter writeendelement return stringwriter tostring 5 compile and place the assembly in the bin of your website creating the rocks plug in when rocks loads it scans the c users user appdata local sitecore sitecore rocks plugins folder for assemblies and loads types that are marked with certain attributes command pipeline fieldcontrol etc in the code below will be doing the following modify the constructor to set the name group and sort order modify the canexecute method to make sure only one item is selected modify the execute method to show a dialog that allows the user to select where to place the clone and then call the server method add an executecompleted method to handle the return call from the server and refresh the screen add a method to handle the xml parsing 1 create a new sitecore rocks plug in project and name it sitecore rocks plugins cloning 2 rename the command to clone 3 replace the code with the following commented code namespace sitecore rocks symposium commands using sitecore visualstudio commands using sitecore visualstudio contenttrees using system linq using sitecore visualstudio data using sitecore visualstudio ui selectitem using sitecore visualstudio extensions iitemselectioncontextextensions using sitecore visualstudio data dataservices using system xml using system using system windows command public class clone commandbase public clone this text clone this group edit this sortingvalue 2300 public override bool canexecute object parameter this method enables or disables the menu option var context parameter as contenttreecontext if context null context selecteditems null context selecteditems count 1 return false return true public override void execute object parameter this method executes when the button is pushed var context parameter as contenttreecontext if context null context selecteditems null context selecteditems count 1 return get the selected item iitem selecteditem context selecteditems firstordefault as iitem if selecteditem null get the root sitecore content item for our select item dialog var contentitemid idmanager getitemid sitecore content var contentitemuri new itemuri selecteditem itemuri databaseuri contentitemid show a popup to select a target selectitemdialog dialog new selectitemdialog dialog initialize select target item contentitemuri if dialog showdialog true item is selected to clone to send the command to the server var targetitem dialog selecteditem if targetitem null context getsite dataservice executeasync sitecore rocks server requests cloning clone sitecore rocks server cloning the class to exectue on the server completed the completed event selecteditem itemuri databasename name the database name for sitecore selecteditem itemuri itemid tostring the source items id targetitem itemid tostring the target items id selecteditem itemuri databaseuri tostring the database uri to return to server executecompleted completed delegate string response executeresult result this method is fired after the item is created on the server if dataservice handleexecute response result return get the active content tree contenttree activecontenttree sitecore visualstudio ui activecontext activecontenttree if activecontenttree null get the return values from the xml that was returned string database getresultvalue response database string item getresultvalue response item get the databaseuri in the rocks format databaseuri dburi databaseuri tryparse database out dburi get the itemuri in rocks format itemid itemid new itemid new guid item itemuri itemuri new itemuri dburi itemid if itemuri null send the user to our newly created content activecontenttree locate itemuri parse xmlvalue public static string getresultvalue string xml string xpath xmldocument xmldocument new xmldocument xmldocument loadxml xml xmlnode xmlnode xmldocument selectsinglenode result xpath return xmlnode innertext 4 compile the project 5 open up a new instance of visual studio and you should see your new clone command when you browse to an item filed under c sitecore sitecore rocks tagged with c sitecore sitecore rocks adding site filters to dms reports with sitecore 6 5 july 19 2012 4 comments dms does not have a site filter for multi site enviornments in the latest version of sitecore 6 5 but i found adding one is quite easy so here is a little tutorial step 1 create a filter browse to sitecore system marketing center analytics filters report filters insert a new filter named site set the type to sitecore analytics reports filters valuelistfilter sitecore analytics set the columnname to multisite step 2 add filter values select your new new site filter and insert two new predefined filter values name them website and site2 and set their values accordingly step 3 add the filters to each report browse to the reports in sitecore system settings analytics reports sql queries for this example i used latest visits add the column visits multisite to the sql fields add the new site filter to the filter field step 4 go test the filter on your report open the report from the engagement analytics menu option test your new filter with the filter button up top filed under sitecore web cms tagged with dms sitecore federated authentication with sitecore and the windows identity foundation july 9 2012 10 comments update there is a new version of the module here https marketplace sitecore net en modules adfsauthenticator aspx over the past few months i ve done some work integrating sitecore with multiple federated authentication systems like ping identity adfs and some home grown ones the way federated authentication works is instead of logging directly into an application the application sends the user to another system for authentication once that system authenticates the user an encrypted token typically saml is passed back to the requesting application containing credentials and other information known as claims getting everything working with the windows identity foundation proved to be more challenging than some of the other api s i worked with i d like to thank owain jones kern herskind nightingale and ivan sharamok for their help and suggestions that made this all work here is the source and update file for this solution there is also this sample web config step 1 setting up your development environment for claims based authentication this tutorial is already written so i m just going to point to that i suggest you set up a basic website and get claims authentication working there before you go and try integrating it with sitecore http www codeproject com articles 278940 claim based authentication and wif part 2 step 2 add roles to sitecore login to sitecore and create the following roles extranet registered users sitecore author assign sitecore author to the sitecore client authoring role so they can login to the system step 3 modify the mock sts to send the roles after you have completed that tutorial modify the sts project and change the code in customsecuritytokenservice cs that writes out the claims to include two roles that exist in your sitecore system protected override iclaimsidentity getoutputclaimsidentity iclaimsprincipal principal requestsecuritytoken request scope scope if null principal throw new argumentnullexception principal claimsidentity outputidentity new claimsidentity issue custom claims todo change the claims below to issue custom claims required by your application update the application s configuration file too to reflect new claims requirement outputidentity claims add new claim system identitymodel claims claimtypes name principal identity name outputidentity claims add new claim claimtypes role registered users outputidentity claims add new claim claimtypes role author return outputidentity step 4 install the fedauthenticator update package login to sitecore as an admin browse to sitecore admin updateinstallationwizard aspx install the update file found here step 5 using visual studio or fedutil exe update the web config of your sitecore solution to point to your sts like you did in the tutorial found under step 1 see http www codeproject com articles 278940 claim based authentication and wif part 2 step 6 modify the web config file under the modules section move the authentication modules so they fire after nexus and replace the session module with the one in the fedauthenticator module add type sitecore nexus web httpmodule sitecore nexus name sitecorehttpmodule add name wsfederationauthenticationmodule type microsoft identitymodel web wsfederationauthenticationmodule microsoft identitymodel version 3 5 0 0 culture neutral publickeytoken 31bf3856ad364e35 precondition managedhandler add name sessionauthenticationmodule type fedauthenticator authentication wssessionauthenticationmodule fedauthenticator add type sitecore resources media uploadwatcher sitecore kernel name sitecoreuploadwatcher change the location information inside of the web config file so it looks like the following system webserver location path sitecore modules shell fedauthenticator sso aspx system web authorization deny users authorization system web location system web authorization deny users authorization continue to run sitecore without script validations if you now try to hit sitecore modules shell fedauthenticator sso aspx the user should be logged into sitecore with the author role step 7 create a secured page in sitecore under the home item create a new sample item and name it secured set the permissions up to break inheritance for extranet everyone then grant read access and enable enheritance for the extranet register users role step 8 test authentication to the front end of the website log out of sitecore clear your cookies to remove the pre existing token browse to http yourwebsite secured you should be redirected to the sts token issuer once you log in you will be brought back to your website and should see the secured item it may be helpful to add this code to your sample layout aspx page so you can see the users information div sitecore context user name div div is virtual sitecore context user runtimesettings isvirtual div div roles div foreach var role in sitecore context user roles div role name div code review ideally this solution would have had two processors and nothing else the tokenrequestor looks to see if access is denied to an item and sends the user to the sts with a request for a token if the user is not already authenticated the userresolver looks for a token in a cookie if it exists and the user is not authenticated we log the user in a virtual user that s all i expected to need when i first wrote this but i was having trouble persisting user information this led us to the sitecore support portal and we found we needed a custom authentication provider and we had to overwrite the wssessionmodule to get this to work the root of the problem is three fold both sitecore and the windows identity foundation are fighting over the threads user identity located at httpcontext current request user the windows identity foundation does not allow you to just request and parse a token just using the api it forces you to use the http modules if i could do this without the modules there would be a lot less code this is the approach i took when integrating ping identity and it was much easier but my ping identity code only works with ping identity and this solution should work with a lot of other identity providers including ping identity the sitecore nexus api is obfuscated and i had trouble figuring out where when the identity was being set so now here s all the other code that was added to get the two systems to play nice wssessionauthenticationmodule was added to prevent some of the session overriding the binding to postauthenticaterequest was removed from initialize module and we override the authenticate request method so it exits the method if we already have a sitecore context user the federatedauthenticationprovider was also added to get the role and user information to persist the forms authentication provider uses a cookie for saving the value but this cookie wasn t persisting when we logged in using sso so we read the session token instead inside of the getcurrentuser method of the authentication helper the login method was also changed to not write out a forms cookie the sso aspx page is being used to log in to sitecore the user is assigned to the roles based on the sitecore domain that is why the page currently lives under the sitecore modules folder things that could use improvement currently the user is logged in on every request when a token exists i d like to be able to just parse the token the first time it s sent from the sts and log the user in once but that didn t work out single sign out is not yet implemented this solution is currently only supporting virtual users filed under asp net c sitecore tagged with sitecore sitecore setting timeout on a virtual user march 7 2012 2 comments a customer was having issues getting a virtual users expiration to timeout in looking at the code in the authentication manager i found that the method being used to load the virtual user passes expires as false and didn t have an override to fix it i overwrote the login user method of the authentication provider and passed in the true variable here s my authentication provider using system using system collections generic using system linq using system web using sitecore diagnostics using system web security using sitecore securitymodel using sitecore configuration using sitecore security accounts namespace adventureworksmembership public class formsauthenticationprovider sitecore security authentication formsauthenticationprovider public override bool login sitecore security accounts user user assert argumentnotnull user user if ba...
|