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

execute Custom query via rest service

$
0
0
hiHow it is possible to execute Custom Query via Rest service?any one can provide a sample?at this time when i want to use rest for macro it always log security error in event log , event with global administrator credentials.

Web part container settings in widgets

$
0
0
I'm confused about how the inheritance works with widget property settings and their parent web part properties. In my 9.0 site the Editable Text widget presents the @Widget container@ and @Container title@ properties in the editing UI when editing a page. Screen shot However, when I look at the property settings of the Editable Text widget in the Widgets application, I don't see these properties. However, all of the web part container properties, including @Container@ and @ContainerTitle@ are set to be not visible. I don't see properties with the labels @Widget container@ and @Container title@ in Properties or System Properties tabs. Screen shotWhere are these widget properties defined? Is there a separate global setting somewhere that reveals these two properties for widgets?

Filter Employees Datasource (Users Datasource) by Role

$
0
0
Using 8.2 and wanting to filter the Employees Datsource by Roles (departments) to create individual department contact lists. I have the Employees Datasource displaying all users in a Repeater webpart. I am not sure of how to filter by Role. Can anyone assist?

How can I add support for SVG media files in Kentico when using Azure blob storage?

$
0
0
We have a Kentico instance which stores media files in Azure blob storage. When uploading images of type SVG it's storing them with the default content type "application/octet-stream". This means they're not displaying correctly in the browser. The fix would be to use the correct content type "image/svg+xml". Does anyone know if it's possible to force Kentico to use this content type for SVG files?I realise this can be done after upload using Powershell but that's a technical step not appropriate to roll out to content editors.

How to get the URL of a Page header image

$
0
0
Hi there,I've some trouble with getting the page header image that has been set on the page and I don't follow the concept of this element. I've added a page header image as you can see below but the database is still showing null as value. Where is this file stored and how can I get this value to use within my template files? And why is it possible to store multiple images instead of one like the Teaser image. Regards,Lennard

Understanding Kentico platform

$
0
0
We have been using Kentico since April 2016 and are now at version 8.2. We have taken the Content Admin, Developer Essentials, and Advanced Developer training courses. We 're wanting to know what the next step would be to gain a deeper understanding of the Kentico platform in order to begin customizing and developing.The online documentation gives general information but doesn't provide many how - to scenarios. The developer network provides some information but it is sometimes hit or miss. Any suggestions?

Use ExactTarget Email Web Service or MailChimp

$
0
0
Looking at possible solutions for sending marketing emails to customers. Our customer would like to interface with ExactTarget. ExactTarget does not have an email smtp server anymore, they have a web service to send out emails. Has anyone every interface with ExactTarget or any other Email Web Service?I am thinking the Custom Email Provider might be a good way to solve this problem. Is there are any other solutions out there?

Custom table data changes not reflecting

$
0
0
Hi,I have updated my custom table data, but the changes I made are not reflecting when I refresh the page.Can anyone please provide me solution for thisThanks

Display standard Kentico CMS document page using MVC controller

$
0
0
Is there an easy way to use an MVC controller in Kentico; and, return a specific page that has been developed in Kentico, as opposed to referencing something like ~/Views/ControllerName/SomeView.cshtml?I'm trying to use the MVC controller to provide some needed routing functionality, and already had a working page prior to using the controller. I would like the display to be pulled from the working page I had before using the controller.I'm using Kentico 7.

always on availability group

$
0
0
Does kentico run on mssql always on availability group? I have no idea what I am asking but our network team is asking.

Validation rule not being called in alternative form

$
0
0
Hi,I have an advanced form that will show/hide data depending on the value of a drop down list in a E-Commerce checkout process. A user can select addition people to have on their plan from a drop down list. By default, all of these fields are hidden based on some javascript I wrote.My problem comes when validating the hidden fields that become visible. I added a validation rule as per this article https://devnet.kentico.com/articles/tweaking-kentico-(1)-hidden-required-fields, but my validation rules are always ignored.My custom macros were not being hit so I tested using the built in rule designer with validation I know would not be met. For example if the day of the week was Sunday (it's Thursday today when I'm testing), the minimum length can only be one (leaving an empty string), or even the Current month is January. None of the validation rules hit and my form continues. Is there something I need to set to check for validation rules?Brendan

Select one Page Type under Pages

$
0
0
In the module @Pages@, when I have a folder or a page-type which allows only 1 other Page Type, I still have to choose this type ( in the @Please select new page type@ ). How can the page type automatically be selected for the user? I can see in the Dancing Goat demo it works for Articles.I don't understand why I still get the selection window in my case. The only other thing I can select is @Link an existing page@. Maybe it has something to do with this?

Dynamic path in cmsrepeater

$
0
0
Hi There,Is it possible to add a dynamic path to a CMSRepeaer based on the value of an other CMSRepeaer? Below breaks the code and I cannot achieve the right result. @cms:CMSRepeater runat=@server@ DelayedLoading=@true@ ID=@MainMenu@ Path='@%#Eval(@NodeAliasPath@) %@' ClassNames=@CMS.MenuItem@ MaxRelativeLevel=@2@ WhereCondition=@NodeLevel @ 1@ HideControlForZeroRows=@False@ ZeroRowsText=@There are no menu pages.@ CacheDependencies=@##DEFAULT##@ @Thanks in advance!

Where with menu item group

$
0
0
Hi there, Within the CMSrepeater i can use Wehreconditions with WhereCondition=@MenuItemGroup Like '%main%'@Is I enter this within the webpart, the website cannot handle this and breaks. Apparently the way of writing should be different? How can I get the menuitemgroup as wherecondition within the webpart?Thanks in advance!

why rest request return forbiden status code

$
0
0
HIWhy my rest request return Forbidden Status Code for the following request?http://localhost:1469/rest/customtableitem.cms.assignedbikes?where=IssuedCardID LIKE '271381890076' AND StationAssignorID @ 0 AND DeliveryBikeDate IS NULL AND StationDeliveryID = 0 OR StationDeliveryID IS NULLBut when i remove AND DeliveryBikeDate IS NULL , it is return data.what is going wrong with my where query for rest request

Remove all entries of a relationship given left node id programmatically

$
0
0
Given a left node id value, is there a way to do RelationshipInfoProvider.RemoveRelationship(leftNodeID, relationshipNameId) ? That is, I want to clear all entries of this relationship for this (left) node id. I'd rather not have to look up all the existing right node ids and call the existing RelationshipInfoProvider.RemoveRelationship(

REST API's Where clause

$
0
0
I know you can specify simple where clause in your queries against the REST API.Does it support the keyword BETWEEN? I've tried a bit and could not get it to work.I want to return from REST a subset of data from the table, dictated by the data's creation date. Thanks

Fixing accessibility error for lang tag in Kentico

$
0
0
I am facing Site-improve accessibility error that my page doesn't have a "lang tag" defined. How can I accomplish this in Kentico?

How to convert GUID of page to an URL

$
0
0
Hi There,I have made a custom webpart with a property that has a form control of a page selector. In my ascx.cs file I get the GUID of the page which works fine, but I need the URL. How do I convert this GUID to an URL so I can place it in my webparts?hope to hear from you!

How to get a file by it's guid?

$
0
0
Hi there,I have stored an image on my page to use as a PageHeaderImage. Now the GUID is stored within the databse but I cannot get this value into my template file (ascx).How can I get this GUID within the template file and how can I convert it to an image URL?Thanks in advance!
Viewing all 11917 articles
Browse latest View live