Quantcast
Channel: Kentico CMS for ASP.NET - DevNet - Forums - Version 7.x - API
Browsing latest articles
Browse All 660 View Live
↧

Determine If Running CMS Desk or Site Manager

np-simpleaWhen I enter to CMS Desk or Site Manager ViewMode is in LiveSite mode, which other way can I determine if is running CMS Desk o Site Manager?Thanks!

View Article


RE:Determine If Running CMS Desk or Site Manager

kentico_sandrojHello,Other than checking the actual URL value, the ViewMode may be the only option. Would it be possible to clarify why that does not work for you? We may be able to find alternative...

View Article


Post authentication event

spencer.h-mmtdigital.coHi,I need to register a session level object using dependecy injection when users successfully login to the CMSDesk.I can hook into the SecurityEvents.Authenticate.Execute event...

View Article

RE:Many to Many relationships

YehudaI have 3 tables with these fields:Articles - ArticleID - PKArticleNameArticleTextTags - TagID - PKTagNameTagDescriptionArticles_Tags - ID - PKArticleID - FKTagID - FK(this is just a sample, I...

View Article

Handling general errors for multiple sites with multiple designs

iacido-gmailHi friends,I'm dealing with a small issue here, basically I would like to custom an error page for a specific website. I can handle that without problems for 404 not found pages, but for...

View Article


RE:Handling general errors for multiple sites with multiple designs

josha-bpstudiosCould you do a redirect that points to a page in your tree. If you put each page under the same folder in each site, you may be able to fetch the domain or site name and create the...

View Article

RE:Handling general errors for multiple sites with multiple designs

iacido-gmailRight! that is exactly what I wanted.In fact I ended doing that.Thanks in advance :)

View Article

Unable to locate a treenode with APU when workflow is ON.

seanbunHi,I am working a project and bring content for v6 to v7. Unfortunately, we cannot upgrade the instance directly and migrating the content thru api.I created a small external application to do...

View Article


RE:Unable to locate a treenode with APU when workflow is ON.

kentico_martind2Hi,You are supposed to use a different API methods when you are working with the documents under workflow.For more details please take a look at the Developers guide - API...

View Article


Outputting dates and currencies to users region

spencer.h-mmtdigital.coI have a CMS desk user set to UK culture but outputting currencies and dates is rendering as US format.This is an international based system and needs to support users regions...

View Article

How to call and apply transformation using API on custom data table row

webdeveloper-avastonetechCould use some help, in the code behind using the API, how can i take an either IDataClass or DataRow of a custom data table and apply a transformation on it? I want to pass...

View Article

RE:Marketing Workflow For Contact

kentico_sandrojHi David,I believe you were looking for the workflow examples under the wrong section, the API example can be found under the Document API section. The examples show how to move and...

View Article

RE:popup windows

kentico_filiplHi,So let's say you have a CSS class selector modalContent assigned to Content HTML part of Modal Colorbox web part which hides the element by default:.modalContent {display: none; }Then...

View Article


RE:Create, Move, Stage ... not keeping parent

kentico_martind2Hello,I will try to reproduce this behaviour if it is a possible bug, so could you please provide me with the exact steps I should follow to be able to reproduce it? As from your...

View Article

RE:DocumentHelper.AddAttachment Not Saving Attachment?

rasiuddin-takweenmediaI am using Same code but i cant get attachment in node folder private bool InsertUnsortedAttachment() { TreeProvider tree = new TreeProvider(CMSContext.CurrentUser);...

View Article


RE:Many to Many relationships

Kentico_RichardSHi,Thank you for your message.What I want to do, is that when an article is being edited/created, to insert the tag if it doesn't exist yet, and then add the tag id and article id to...

View Article

RE:DocumentHelper.AddAttachment Not Saving Attachment?

kentico_davidb2Are you using Kentico CMS version 7?You are asking: I am using Same code but i cant get attachment in node folderDo you mean Unsorted attachments that would be?private bool...

View Article


RE:Create, Move, Stage ... not keeping parent

JAAkentico_martind2 wrote: Hello,I will try to reproduce this behaviour if it is a possible bug, so could you please provide me with the exact steps I should follow to be able to reproduce it? As from...

View Article

RE:Many to Many relationships

YehudaThanks, but is there a way to pass data (the tags and/or tag ids) from the form to the event handler without having a backing field in the data base?Or the only way I can do that is by having a...

View Article

RE:Many to Many relationships

Kentico_RichardSHi, Thank you for your message.You mean that you want to write or select the tags in the form itself which will be assigned to the document in event handler? If so please see my...

View Article

RE:Many to Many relationships

YehudaThanks. I guess I'm not clear.I do have a custom control for that.But I don't want to have a column on my article that stores the tags I select.What I want is to insert the selected tag id's to...

View Article


RE:Many to Many relationships

Kentico_RichardSHi,Thank you for being more clear,This is surely possible. The tables you created are custom created in Kentico, is that right? If so you can use our API to insert, update, delete a...

View Article


RE:Many to Many relationships

YehudaAfraid not. I know how to add data to the custom tables, but I what I want is to pass data from the edit form to the event handler.I guess I'll add a column to my Articles which will have a...

View Article

RE:Many to Many relationships

Kentico_RichardSHi,Just a quick note - if you want to temporarily store some data you can use CookieHelper class and in your custom form control store the value and in the global event check whether it...

View Article

Attachments Last Modified Date

c.average-gmailSo I am trying to display a last modified date of each attachment on a document. I have the attachments displaying through a "Document Attachment" web-part and everything works fine. I...

View Article


RE:How to call and apply transformation using API on custom data table row

FroggEyeYou wouldn't apply the transformation to the dataset at all, you'd assign it to a control that will render the data. For instance, put a repeater on the page and assign the datasource to be...

View Article

RE:How to call and apply transformation using API on custom data table row

tfayas-avastonetechI was more looking for back end transformation to get a string back, however i found a work around that is working quite nicely, i'll share!This uses MacroResolvers, which basically...

View Article

RE:Many to Many relationships

YehudaThanks. That's an idea. I'll try this out.

View Article

RE:Attachments Last Modified Date

Kentico_RichardSHi,Thank you for your message.I have just now tried using Document Attachment webparts and in transformation used: <%# Eval("AttachmentLastModified") %> And it did show the date...

View Article



RE:Transformation for CDATA in XML

kentico_davidb2Please do not double-post the same questions, should you want to add more details, please add it to the other post http://devnet.kentico.com/Forums.aspx?forumid=65&threadid=43760

View Article
Browsing latest articles
Browse All 660 View Live