Quantcast
Channel: DevNet Questions
Browsing all 8834 articles
Browse latest View live
↧

Get the full URL of the doc

I want to add a link to a page in a webpart. I got the nodealiaspath. How can I use this to get the full path of the document.URLHelper.ResolveUrl(my.NodeAliasPath)is not working.

View Article


Get Relationship Displayname

Hello,searching a way to query the CMS_RelationShipName table within an aspx template. So far i stuck using the RelationShipInfoProvider.Any Suggestion?I am working with Kentico 8.1.2Kind regardsStefan

View Article


Get Document Url Without current culture

Is there a way to retrieve the current document url without the culture prefix using macros I have tried using the GetDocumentUrl() and GetDocumentUrlByID(DocumentID) which returns the document url...

View Article

Custom Table api

hello kentico dev i try to apply a scheduled task to save data in custom table and now i try to delete all records in one time not one by one is there any methode in c# thanks

View Article

Hiding Specific custom table

HI How it is possible to hide special customtable for a user or role then user or users belong to that role can not see that specific customtable?Thanks

View Article


How to display in content tree another value than this which is saved in the...

In page type app I have simple @User selector@ field. I want to save UserID in DB and in the same moment I want to display e. g. @Full Name@ in content tree. Which way is the best way to solve this...

View Article

UniGrid code generation

I'm still learning Kentico and I wonder if there is some tool that can generate a UniGrid definition (xml) file for a class? it seems to me that most of the time this will be closely related to the...

View Article

Kentico Upgrade

Hello,I'm tasked with performing multiple upgrades to a Kentico web application project. I have a development environment and a production environment. I want to perform the upgrades separately on the...

View Article


Class Name Validation

How to restrict user to select only a specific page type from a path selector.I am trying general validation and try to look for the selected path and comparing it to my page type . But i don't have...

View Article


How to retrieve the metadata values using the REST API in Kentico?

How can we retrieve the metadata values in Kentico 11 using REST API.The property name UserMFSecret is what we are trying to retrieve.Used the below urls to access data in...

View Article

Cannot retrieve data from CustomTableItemProvider.GetItems kentico

Hi all! I am using Kentico 11, and I want to get data from custom table.string tableName = @customtable.MenuNavigation@; DataClassInfo imageTable = DataClassInfoProvider.GetDataClassInfo(tableName); if...

View Article

How can I dynamically instantiate a web part layout for a specific web part...

Hey, I am dynamically instantiating web parts on my Kentico page by first getting the web part and then setting the properties in the code and then adding it to the page.This is working well, When I go...

View Article

Smart search Or clause for filters

I'm using custom smart search with filters. Now I'm using this code to combine search conditions var fo=@term1 term2@; var filterText = SearchSyntaxHelper.GetFilterCondition(filterFieldName, fo);...

View Article


Web Farm Timeouts crashing Site

Hi,I have a problem where my kentico site is crashing and becoming unusable due to Web Farm Tasks failing and db locks being created on the DB.When I check the Web Farm tasks the error message I am...

View Article

Posting data to Social Media Channels

Hello,We want to post data to Social Media channels using Kentico. We have access token such as twitter, instagram. We know we can get and list posts but don't know about posting to Instagram. I did...

View Article


How to get SKU price with discounts for a specified user?

Could you tell me please, how to get SKU price with discounts for a specified user?I work with Kentico from console application through C# API.CMS.DataEngine.CMSApplication.Init(); var sku =...

View Article

Cache Issue for Multilingual Website Kentico 10

I am getting caching issue in case of other language for example : i create a site with two languages, default is en-US and another one is en-AU. When i update the content,files(media,js) for US...

View Article


Kentico SMTP: use TLS instead of SSL

I have got configuration settings from my provider how to connect to POP3/SMTP server. It works perfectly in Outlook, but it doesn't work with Kentico (Azure hosted). Note: In case of Gmail SMTP...

View Article

How to get SKU price with discounts for a specified user?

Could you tell me please, how to get SKU price with discounts for a specified user?I work with Kentico from console application through C# API.CMS.DataEngine.CMSApplication.Init(); var sku =...

View Article

changing a primary key field on a custom module class

I'm playing around with custom modules and classes (and UI). and I'm using a CV manager as an example. In this the Employee class is the parent and project is the child class (I also have an "Employee...

View Article
Browsing all 8834 articles
Browse latest View live