Quantcast
Channel: DevNet Questions
Viewing all 11894 articles
Browse latest View live

Kentico Kontent Delivery API

$
0
0
Hi Support, AS i am using kentico version 9,10 portal engine. is there any update for kentico api using Kontent delivery Api. if there can you please share the documentation for kentico version 9 ,10 Thanks, Harshal

tags

$
0
0
We are wanting to perform bulk up date on page metadata tags. Is their a potential quick solution to this, maybe using api calls, macros etc. I have managed a similar exercise updating page categories by writing api calls linked to a scheduled task. Our example could be all the pages under /root/News would have a tag called News etc.

blank media selection dialog - MVC Selector

$
0
0
Hi All,I'm using media selector for selecting image in a custom widget. Below is the code we used to declare a widget propety in widget properties. [EditingComponent(MediaFilesSelector.IDENTIFIER, Order = 0)] [EditingComponentProperty(nameof(MediaFilesSelectorProperties.MaxFilesLimit), 1)] public IList@MediaFilesSelectorItem@ Image { get; set; } I'm getting a blank dialog when clicked on 'select' in widget configuration. please check the below screenshots. I'm using 12.0.31 kentico version.Also I'm getting console errors related to 'mediaDialog' (refer the 3rd screenshot).Help us to resolve this issue.

Custom Webpart with attachment field type

$
0
0
Hi,I am building a custom webpart and want to add some fields like Title (Textbox), Description (Rich text editor) and Images (multiple images). My question is there is no form control to upload as many images as I want in the same field.When I create a page type with a field which uses Attachment form control, I can upload as many images I want in the same field. I want to do the exact same thing for the webpart but the attachment field does not work like it works for the page type.

Kentico 11 Staging Issues - Duplicate tasks created in simple bi-directional configuration.

$
0
0
When setting up a simple bi-directional configuration in the following manner:QA @-@ Staging -@ ProductionIf a task originates from QA and is staged/synced up to staging, then staged/sync up to production and staged back down to QA. The task that already exists in QA is being recreated and setup for syncing again in QA although it already exist in the environment that it was created in. Should Kentico recognize that? We have the same site codename throughout the environments.This is happening when a site is setup and staging servers are enabled.Our organization has another site that is setup the same way and we are not getting duplicate tasks.Besides the documented configuration settings, are there any other settings that should be modified?

How can I get the CurrentSiteID when using the API externally?

$
0
0
I set up a project using the steps here so I could use the Kentico API in an external project.Everything works well, but I don't know how to get the proper site ID. I'm using the code below:activity.ActivitySiteID = SiteContext.CurrentSiteID;That always returns the global site ID. How do I configure the project to know which specific site to use?

Possible to identify Custom Fields?

$
0
0
I have added custom fields to the Contact object via the Admin interface:Modules @ Contact management @ Classes @ Contact @ FieldsNow, in code, is there a way to know which fields are the custom fields only?I know that in the database, it's always the last columns to be added, but is there a more robust way of determining this in code?

Dropdown Menu in Master Page

$
0
0
Dears, I am new to kentico, using 12, i want to dispaly dropdown menu on master page, i have read about the webpart and custom webpart. my requirement is to create a dropdown menu on master page, i want to know what is the correct approach or best practice to achieve this. screenshot attached

Apostrophe in Macro

$
0
0
Hi all,I'm trying to use a macro to show a name from a custom field from a page type. I then want to use this within a URL for an XML feed so it can generate a list of their publications automatically when you click on someone's profile.An example would be like below (although not actual website): http://examplesite.com/publications/user={% CurrentDocument.GetValue(@Name@) #%}.xmlThis works fine for 99% of the names, except I have a name with an apostrophe which breaks the URL and doesn't work. I was hoping to do a .replace() on the apostrophe to replace with a valid character that is accepted in the url but this doesn't work. I'm of the understanding that it is a special character but is there anything I can do to fix this or is this a no go?Sorry, my knowledge on this is limited so apologies if what I'm doing is wrong.Thanks, Jon

Kentico Code Upgrade Tool Issues

$
0
0
https://docs.kentico.com/k11/installation/upgrading-to-kentico-11/upgrading-custom-codeI followed the mentioned steps, but I am getting below error message. The Application could not be started. Do you want to view information about the issue?Screenshot link: https://ibb.co/tJMjStYIf I click yes button means below page will be open. https://docs.microsoft.com/en-us/dotnet/framework/deployment/initialization-errors-managing-the-user-experience?version=(null)@processName=CodeUpgrade.exe@platform=0009@osver=6@isServer=0@shimver=4.0.30319.0

Category App

$
0
0
I have a dropdown smart filter, and wanting to list some root and subcategories from the category app to use as a filtering choice in my smart search filter. ie Categories News Type Membership News Other News Event TypeBased on the categories i Require in My list the drop down would produce something like:Membership News Event Type which then provide a selection list for my filter, or is it just as easy to place the details in the values dialog such as:Membership NewsEvent TypeAnd would this work ?

Can I make the Doctype on a master page (Kentico 11 Portal Engine) dynamic based on a macro?

$
0
0
I've inherited a Kentico 11 site that uses a doctype of @!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"@ The client wants to create AMP variants of their pages using Kentico's AMP module, which uses a subdomain for any AMP content. The module also includes a boolean macro {% AmpFilter.IsAmpPage() %} that tests if you're currently serving AMP content. https://github.com/Kentico/kentico-ampThe issue I'm running into is that AMP seems to want a doctype of @!doctype html@ . I don't want to change the doctype of the existing site, but it also doesn't look like I can evaluate macros within the master page template's doctype field.Wondering if anyone has come up against an issue like this; if there's a way to allow macros to be evaluated in the doctype field, or some other approach I haven't thought of.

Pages past their "publish until" date still accessible by URL

$
0
0
We have recently noticed that pages we have @unpublished@ by setting a @Publish until@ date are still accessible by anyone who has saved the page URL. Its not what we expected, but may be standard practice rather than an error. So... how do we @remove@ a page so that its URL will no longer find it, ideally without actually deleting the page?I have read something about archiving, but we don't currently use Workflow, which I think would be needed for Archiving in the Kentico context.

Is there a way to generate a list of pages a particular role has editor access to?

$
0
0
Hi everyone -As the subject says, I'm looking for a way to generate a report that lists which published pages a particular role has been given the 'modify' access to. The long-term goal is to clean up what has become a complicated network of permissions, but short term I just need to see which pages Role X will be able to edit if a user gets that permission.I've been hunting around the Admin for clues but turning up empty. Any ideas? Is there a table with the data I'm not finding? Any leads would be appreciated, thanks!

Typo-tolerant Search in Kentico 12 MVC

$
0
0
Hi, Is it possible to configure Typo-tolerant smart Search in Kentico 12 MVC. For portal engine there is a support for this in the webpart, but I am not sure about MVC as there is no mention of this feature in the documentation.Can anyone suggest me how can we achieve this.Thanks in advance

Web Part Custom

$
0
0
I have recently cloned a custom web part with a dropdown category selector. It is not obvious how i can set the width of the dropdown. in the google inspect it shows a setting for the width in a css, but not obvious how it is picked up. Any suggestions

Emails are sent when logged into Kentico admin

$
0
0
Hi Team,We are using Kentico 12 for our website. We are using Kentico form builder for forms. The issue is that emails are not sent immediately after a form is submitted. Emails are found in the Email queue and they are sent only when we login to the Kentico admin portal. Could you please advise what changes to be made for emails to be sent immediately.Thanks, Krishna.

client side data change for webpart Repeater with Custom query

$
0
0
Dears, i have layout where left side i have bullet link (repeater webpart), and right side have content (repeater with custom query webpart). on click of the link in left side i m able to change content right side, but page gets refresh, i want to implement a functionality where i click on left side link and just content get change right side( client side functionality). please anyone can help to achieve this

Indexing of page builder widgets

$
0
0
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.

Connecting Kentico to a Rackspace CDN

$
0
0
We would like to connect our Kentico 12 MVC application to a remote CDN on Rackspace. I found an article on how to set up the CustomFileSystemProvider project, but it doesn't contain any code to do this.Has anyone else done this? Can you make the code available to do that?
Viewing all 11894 articles
Browse latest View live