I have upgraded the site version 10 to ll, clean the application and Rebuild the application its working fine.The issues is in the application Test case is there, If run the Testcase not run the test case.In the visual studio already installed the below packages also.Microsoft.NET.Test.SdkMSTest.TestFrameworkMSTest.TestAdapter https://ibb.co/n3TcHS1
↧
Kentico Upgrade 10 to 11 Test Case Not Run
↧
Kentico Windows AD authentication
I am following the steps provided in the documentation here:https://docs.kentico.com/k9/managing-users/user-registration-and-authentication/configuring-windows-ad-authenticationDoes the Kentico site have to be on the same server as the AD instance?
If not, then how does the Kentico site communicate with the AD server to authenticate the user for automatic login into the CMS?
↧
↧
Looking for a replacement for our old DotNetNuke system
Hello everyone,
I'm shopping around at different web hosting companies and platforms like Kentico for our new platform for hosting customer websites, and I'd love to get some feedback from anyone who has used the Kentico system or eCommerce tools (if there are any), and compare what they have to offer with the tools being offered by Duda these days.We've been using DNN (DotNetNuke) for the past 16 years for hosting school websites, but after MANY, MANY, MANY fails and frustrations, we're finally giving it up completely and are in search of a new website hosting platform on which to build school and community websites.After MUCH research and analysis of more than 80 different platforms, we've almost settled on the Duda platform and their white label package, and we’ve even built out our new primary marketing website as well as a few small test customer websites, which can be seen at https://www.iwantawebsite.com.
The big issue is that, although we're already underway with our new Duda reseller package, we're just not feeling 100% sure that we've made the right platform choice, and would love to get some true and unbiased opinions of our new site, the Duda platform as a whole, and how it might compare to what we could get and/or do with the Weebly platform in direct comparison to what Duda has to offer, especially with regards to the Duda VS. Kentico.We still have not actively promoted the new website, out of fear that we might not be heading the right direction, so we need to really commit to it and launch it, or we need to jump onto the right platform (Kentico?) immediately before we dig ourselves a deeper hole in the Duda world!Thanks for any help and insight y'all could give us, and don't be afraid to give any critiques or comments about our new site, any of our new test client sites, or any other advise that might help push us in the right platform direction before we get too far along and discover that we’ve made the wrong choice!Rob
↧
Browser keeps asking for credentials after setting up Kentico Windows AD Authentication.
I followed the steps described in the docs:https://docs.kentico.com/k9/managing-users/user-registration-and-authentication/configuring-windows-ad-authenticationThe server is on the same domain as the active directory.
The browser keeps asking for login credentials.
I've tried all correct credentials as well but keep getting the same prompt.
↧
ERR_CACHE_MISS Error
Hello:I was working in a custom webpart which redirect to an external page, this webpart was included in a Kentico page and the redirect process works; but when i clicked the back button in the browser for returning to the previous page, it apperared the following error: ERR_CACHE_MISSI was implemented in the webpart this solution, but the error still happens.Do you know any way to solve this issue?Thanks.
↧
↧
Kentico 12 MVC Form Components
How do I customize the system form components with styles? I am trying to get a custom style for the radio buttons applied. However, I can't seem to find it anywhere when building forms. I know I can make a custom component, however it seems like overkill for just adding custom styles. Is there anyway to override the system view?
↧
Placing quantity limits on product coupons
Our current setup:
We have a product coupon set up for Product X. The coupon is for a fixed amount of $50 off. Is it possible to force a limit on the product coupon so that the user can only receive this discount on ONE unit? For example, if Product X is $199.99, and they add one to cart, total is $149.99 after the coupon is applied for 1 device.But if a second Product X is added to cart, the discount is being increased to $100 off. The coupon is applied to both units. How can we customize so that no matter how many Product X's are added to the cart, the max discount from the coupon is $50?
↧
Any way to remove a custom element from a module UI?
I logged into Admin and navigated to:Modules @ Email Marketing @ User InterfaceThen I hit the + button and added a new element (so I could have a new menu item in the left pane's menu)But I made a typo and I can't edit or delete it.How can I modify it now?
↧
/CMSPages/PortalTemplate.aspx throws 404 errors but site still works fine
I have a situation here, on iis logs I see the /CMSPages/PortalTemplate.aspx causing 404 errors but the requests are still fulfilled.The question that I have is how do I stop these 404 errors from being logged since the website still works. I only want to see the real 404 erros which occur when the request URL is invalid I am using the Portal Engine approach
↧
↧
Kentico Version Upgrade (11 to 12) Error: getFileUrl not working
hi,
after upgrade kentico 9 to 12 i use getimage in place of getfileurl. it is working fine. but whenever i need url of image or mp4 file. i can not use it. what is best solution. one place i saw getattachment return url but how to find guid and which type guid it takes.
please resolve asap.thanks in advance
nirmal
↧
Kentico Version Upgrade (11 to 12) Error:GetFileUrl not working in kentico12
thank you juraj
but i am new in kentico could you please tell me where i can find attachmentdocumentid and attachmentfilename my table structure is bellow:i have four field in table
VideoId (autogen column)
Header test type
Image FileType
MP4Video FileTypemyTransform is below
↧
Lots of Kentico features missing after copying database for a project
Here is some background of what happened.
We are planning to built around 5 websites which to some extent is going to have similar structure (menu, page types, templates, etc). So we decided to be smart and create a base site which will have all the common features for all the sites. After building the base site, we created a copy of that database and pointed new site to the copied database. Mostly everything worked fine except few random features are missing. The new site has entire code base.Example:
a)In page types, a lot of the tabs like fields, ecommerce, Alternative forms, etc.
b)In Pages application, analytics tab is missing.What could be the problem? Not sure why some random things are missing.
↧
Can you execute javascript from within a custom Kentico global event handler?
Using version 10 of Kentico and trying to call javascript from within a custom event handler (authentication) that I created. Code is:public class CustomAuthenticationModule: Module {
// Module class constructor, the system registers the module under the name "CustomAuthentication"
public CustomAuthenticationModule(): base("CustomAuthentication") {}
// Contains initialization code that is executed when the application starts
protected override void OnInit() {
base.OnInit();
// Assigns a handler to the SecurityEvents.Authenticate.Execute event
// This event occurs when users attempt to sign in on the website
SecurityEvents.Authenticate.Execute += OnAuthentication;
}
private void OnAuthentication(object sender, AuthenticationEventArgs e) {
// Checks if the user was authenticated by the default system. Only continues if authentication succeeded.
if (e.User != null) {
// Run client-side javascript function called UpdateCrisp
// Testing only
EventLogProvider.LogInformation("Crisp update on login", "INFORMATION", "Crisp update successful on login");
}
}
}
and the javascript is just something simple like:function UpdateCrisp() {
console.log("Contact updated");
}
I tried using RegisterClientScriptBlock and also tried adding an OnClientClick event to the LinkButton in the .ascx but because it is a user control and not a page it won't work either. Any suggestions?
↧
↧
Including page settings when creating a translation request
I'm currently running a Kentico 9 instance to support a large website that is available in multiple languages. I'm leveraging the built-in Translation and Translation Services modules to send content to our translators.When I create a submission ticket for a new item to translate and look at the XLF that gets generated, aboutalljobs there are @trans-unit@ elements for all page type fields marked as translatable as well as one for the DocumentName field. These fields then get translated by our vendor and re-imported into the CMS.My question is, can I include other document system fields in this XLF?Specifically I'm looking to include the DocumentPageTitle, DocumentPageKeyWords, and DocumentTags fields.
↧
How to Fix PHP Error Confirm Form Resubmission?
I am using PHP to make a form that collects email and first name but when I try to refresh the page after the process is done, it shows this error. Confirm Form Resubmission and with an error code ERR_CACHE_MISS. I have checked my code and found nothing wrong with it. Except this everything works fine.Please help me, stuck with this for days.
↧
Creating a webpart with Editable Text
I'm trying to create a webpart that contains an editable text. I wanted to enable the content manager to edit the contents of the webpart without using the design view. Is it possible to do this? Is there a kentico way of implementing this?
I'm new to kentico and hoping that someone could point me to the right direction. Thanks in advance!
↧
Indexing of page builder widgets
Hi,We are starting to work on a brand new website for one of our clients and I would like to know if there is any (semi)legitimate way we could index page builder content. The fact that this very user-friendly feature is incompatible with content search is extremely disappointing for us.From what I can see, page builder content is stored in the DocumentPageBuilderWidgets column of the CMS_Document table and can be fetched through the DocumentHelper class. This returns a JSON document that we could parse for content. The only thing stopping me from doing this is that it seems extremely fragile and could be broken with any Kentico update.Are there any plans in the works to give developers a legitimate way to index content added through page builder widgets?Thanks.
↧
↧
Kentico 11- 12 upgrade search issues
Hello everyone! I'm stuck with following search problems during upgrade:Problem A:I'vegot an aspx search control with such code:public class SmartSearchContextWrapper : ISmartSearchContextWrapper
{
public object GetSearchValue(string id, string columnName)
{
//In Kentico 12 id should be SearchResultItem
return TransformationHelper.HelperObject.GetSearchValue(id, columnName);
}
public string GetSearchResultUrl(string id, string type)
{
return TransformationHelper.HelperObject.SearchResultUrl(id, type, false) ?? string.Empty;
}
}
or protected static string HighlightFoundText(string text)
{
//I'm suggested to use SearchResultItem too
var result = SearchHelper.Highlight(text, @@span style=background-color:yellow@@, @@/span@@) ?? string.Empty;
return HttpUtility.HtmlDecode(result);
}
And Kentico 12 upgrade tool says that I have to use some SearchResultItem instead of string (in TransformationHelper.HelperObject.GetSearchValue and SearchHelper.Highlight methods).
How can I acquire the object of this type from string? It's constructor says that i need to pass SearchResult to it. Is there any examples?Problem B:
There is a method which counts search results count in my search control: protected void SearchResultList_OnOnSearchCompleted(bool visible)
{
var numberOfResults = SearchContext.CurrentParameters?.NumberOfResults ?? 0;
ResultsFound.Text = numberOfResults.ToString();
}
Upgrade tool says, that I need to use members of corresponding CMS.Search.SearchResult or CMS.Search.SearchResultItem. Again, zero ideas of how to achieve this. I can't understand how can I receive this SearchResultItem object.Thank you. Any ideas would be appreciated.
↧
Kentico 11-12 upgrade BaseAbstractInfoProvider
Hello!
In Kentico 11 we retrieved document category id like thisDocumentToProductsCodeName = @DocumentstoProducts6442498230@;
DocumentToProductsCategoryID = BaseAbstractInfoProvider.GetId(@cms.category@, DocumentToProductsCodeName);
Kentico 12 Upgrade tool says that I need to use CMS.DataEngine.AbstractInfoProvider@TInfo, TProvider, TQuery@ instead. Again, the problem is that there is no examples i found. Can someone suggest links to example, or show me how can I get category id by name in Kentico 12?
Thank you.
↧
Upgrade 11 to 12
In the kentico site upgrade 10 to 11 it's completed.We are again planning to upgrade 11 to 12.We need to some fix hotfix or directly do in upgrade 11 to 12?
↧