kentico

Kentico 9 form macros and different notification recipient based on dropdown value

为君一笑 提交于 2019-12-25 18:33:21
问题 I have a form field as a drop down (ReasonForMessage) with the data like this: email1@test.com;Reason One email2@test.com;Reason Two So user can select a reason, and then the notification would be send to address attached to that reason. If the Email Notification, for the recipient emails, how do i grab just them email portion with a macro. Is this correct? {% ReasonForMessage %} And how do i get the second part of the data, the actual Reason? I'm basing this on this article (https://devnet

How to find Kentico hotfix when KIM is not installed

本小妞迷上赌 提交于 2019-12-25 16:03:37
问题 On my development machine I can view the hotfix level of the Kentico website using KIM. KIM isn't installed on our production machines. In Kentico v7.0 the hotfix level was reported in CMS Desk but that isn't the case in Kentico v9.0. Is there anywhere I can look to find the hotfix level without using KIM? 回答1: There are typically a few places you can find this: Database File system Kentico UI If you get your info from the database, it will only be relevant to the data. If you get your info

How to find Kentico hotfix when KIM is not installed

血红的双手。 提交于 2019-12-25 16:02:09
问题 On my development machine I can view the hotfix level of the Kentico website using KIM. KIM isn't installed on our production machines. In Kentico v7.0 the hotfix level was reported in CMS Desk but that isn't the case in Kentico v9.0. Is there anywhere I can look to find the hotfix level without using KIM? 回答1: There are typically a few places you can find this: Database File system Kentico UI If you get your info from the database, it will only be relevant to the data. If you get your info

Server Error in '/KenticoCMS' Application. Clicking on Tools in CMS Desk in Kentico

时光毁灭记忆、已成空白 提交于 2019-12-25 00:15:51
问题 I get this error when I click the Tools menu in CMS Desk in Kentico. I am not sure where to start trouble shooting. I have started down the path of copying the website down to run locally on my machine. Hoping that I might be able to get more information that way. Ideas gratefully received. Update - I have decided to re-install from scratch. Update 2 I think the problem might have been that we a 3rd part payment gateway from Get Started installed that was not updated for version 7 of Kentico.

Kentico Repeater with Custom Query

99封情书 提交于 2019-12-24 20:03:05
问题 OK Here we go. Using Kentico 11/Portal Engine (no hot fixes) Have a table that holds Content only page Types. One field of importance is a Date and time field. I am trying to get rows out of this table that match a certain month and year criteria. For instance give me all records where Month=2 and Year=2018 . These argument will be passed via the query string I have a custom Stored proc that I would like to receive two int(or string) arguments then return a collection of all matching rows. I

Kentico - “Send email queue” scheduled task stuck

二次信任 提交于 2019-12-24 20:02:46
问题 Our client can't received email and I have found the issue with the schedule task "Send email queue": The task couldn't not stop before I disabled it. When I enable again, it works fine, but I want to know exactly the problem to not sure it NOT stuck again More detail: - Kentico: v10.0.50 - Event log: i dôn't see any log about the task 回答1: Best thing to resolve that issue is to upgrade to a newer version. There are a list of things about a mile long which could cause it to hang. We've found

Copy a LIVE Kentico instance and its database to my local machine

大城市里の小女人 提交于 2019-12-23 02:55:13
问题 The error appears to be this: ERROR: An error occurred: Folder with default data must exist. Here are my steps to recreate. I have read How to Copy Kentico Instance to a Local Machine? and followed all of its steps. It did not resolve my issue. Kentico keeps wanting me to do "Step 1 - Database Instance," and when I go through those steps, I receive the above error. Here are the steps I took: Database Backup the LIVE database. Restore it locally. Add the appropriate server logins and database

kentico add new form field via API

点点圈 提交于 2019-12-23 02:26:10
问题 Hello Kentico experts, I need to create some new form fields dynamically via Kentico API. I found a solution but it is for Kentico 6 and it is not available for my version (i'm using Kentico 8). https://devnet.kentico.com/articles/how-to-add-a-new-field-to-a-document-type-using-api Please help ! Thanks, Duong 回答1: This should work: string classname = "classname"; DataClassInfo dci = DataClassInfoProvider.GetDataClassInfo(classname); if (dci != null) { FormInfo fi = new FormInfo(dci

Post Redirect to URL with post data

强颜欢笑 提交于 2019-12-22 19:40:43
问题 I am working on a post redirect for a payment provider and trying to pass form data to their secure URL. I am doing this in kentico 8 by using their custom payment gateway method as shown here https://docs.kentico.com/display/K8/Creating+a+custom+payment+gateway So in the custom payment class I prepared the data to be passed to the payment provider in a 'Form' format with hidden fields using this tutorial http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET However I am not

Using the wrong escape character for Lucene lexical error at line 1 Cannot Parse Encountered <EOF>. Kentico 12

China☆狼群 提交于 2019-12-13 18:03:33
问题 I have a similar issue as the following question: Lucene error while parsing Query: Cannot parse '': Encountered “” at line 1, column 0, and I had already tried all the escaping. What else could it be? I'm using Kentico 12 hotfix 14, with their Lucene.NET 3.0.3 implementation. My Smart Search Index uses the Standard analyzer, see below: I get the expected rows back when I use the following lucene syntax to pull back an en-US culture result. This syntax is automatically created by Kentico and