Sending Email on Workflow Event
HiI'm sending an email, from workflow event After_approve, the workflow applied for a page type. I need to include the link to the edit page on the admin content treeHow to get edit link I'm currently...
View ArticlePresentation URL for domain alias
Hello, is it possible to define Presentation URL parameter for domain alias? For one small project we want to share database across developers and don't want to use continuous integration. Perfect...
View ArticleFix the Semicolon in a macro expression for a visibility condition in a list...
I only want 4 user roles to see a specific option in my drop-down list (form control). I currently have it working for two roles. See below:1;General2;Human Resources3;Library4;Long-Term...
View ArticleError while evaluating expression: ToInt(tagid, "")
The Kentico is slow and the log displays this error, what could it be?server?Event ID:1375613 Event type:Error Event time:10/13/2020 1:05:08 PM Source:MacroResolver Event code:RESOLVEDATAMACRO User...
View ArticleAdd an action button to a PageType
Hi, I would like to add a button field to a PageType to perform some custom logic when clicked by a CMS user. I couldn't find an existing control for this purpose so wondered if it was possible and/or...
View ArticleUpgrading separated on-line marketing databases
Open the upgrade installation directory (C:\Program Files\Kentico\11.0\Upgrade100_110 by default).Expand the SQL\Separation folder.Manually run the script files in the following order:separated.sql...
View ArticleFindControl Method not finding control on page
I am attempting to use a datalist to display some content. In order to get the values I need I have to grab it from a label on the page using the findcontrol method. The issue I'm running into is that...
View ArticleHow to force a Live Url (AbsoluteUrl) to update on a Kentico page type
I'm looking for information about how the Live Url (Absolute Url on the back end) regenerates and what triggers it to update.Using Kentico 12SP MVC I have a pretty normal NewsArticle page type that...
View ArticleWhat are the available methods for local development when using Azure Search...
Using Azure Search as a Kentico search provider has various pros and cons. Lucene can be run locally and appropriately tested prior to distribution. As Azure Search is cloud-based, developers can't...
View ArticleFake an info provider that has a source join
I have some code which uses a Source to join two tables.How do I fake that for a unit test?for example:DataSet result = UserInfoProvider.GetUsers().Source(si =@ si.Join
View ArticleKentico Form Data in Json Object
Hi all,I have a FormEventHandlerModule which tries to get form data when new record is added. I refered this link :...
View ArticleDependency injection in custom event handler
Hi, I am trying to inject a interface service to a custom event handler, but I am always getting Null Reference error.(System.NullReferenceException: 'Object reference not set to an instance of an...
View ArticleSmart search not going through blog articles
I have a smart search page that is going through my pages pretty well but is completely ignoring all of my blog articles. I have added the directories to the index like so in the indexed content...
View ArticleForm component with WYSIWYG rich-text editor
Hi, In my MVC site, I have made a very simple form component for my form builder to add text, explanation between inputs. I would like to be able to format this text using a basic WYSIWYG for changing...
View ArticleBest Practicies working with Kentico 12/13
Hey,I was wondering what the best practice/how other people handle the following situations:Wildcard/custom URLS based on position of page in tree view.. i.e. with MVC, if you follow the guidelines,...
View ArticleMVC Smart Search Indexes and Media Library not syncing
We have a Kentico MVC site that was added to an existing Kentico instance via the site import feature, but the media libraries and the smart search indexes are not syncing as expected through the web...
View ArticleSmart Search Indexes and Media Library not syncing on MVC site
I just tried to post this question, but it looks like it's redirecting somewhere else. Sorry for the duplicate!We have a Kentico MVC site that was added to an existing Kentico instance via the site...
View ArticleNot Use Azure Search for Development
When we started using Azure Search we wanted to develop with the search provider used in production to make sure everything worked the same locally as on production.To solve this we've set up a Dev...
View Articleerror in event log Unexpected exception occurred while processing activities....
I have been uploading different things with staging from pre-production to production, and now in the production event log I get this error. Does anyone know why? thank you very muchUnexpected...
View Article