RE:detect current users bandwidth
kentico_martind2Hello Adam,There is no method available in the Kentico API for this purpose.However you can try to implement some general C# or .NET solution.This could be helpful for you at the...
View ArticleRE:NRE on Tree Traversal
kentico_martind2Hello,The reason is that this is new web.config key which developers are preparing for version 8.Not all the web.config keys are listed in the Developers Guide and probably never will...
View ArticleSessions.
paragbajiDear Team,Two Queries for you:1. I need to fetch session values from CMS_Sessions table from the Kentico Database.So far, I have seen APIs to get and set Session values directly from code...
View ArticleRE:Sessions.
FroggEyeWhy do you need to get them directly from the database table? Have you used the SessionInfo() class and SessionManager to get the info you need?SessionInfo si = SessionManager.CurrentSession;
View ArticleRE:Image resizing functionality
belindaharris897-hotmailI'm not familar with Kentico image resizing program, but I can recommend you this image resizing api of an .net image gallery, you can call the method to program your own image...
View ArticleRE:Sessions.
paragbajiThank you for your reply, seems that I am close enough.Now, as per your instructions, I have created that si object.I want to get the si objects SessionUserName.But it throws,...
View ArticleRE:Sessions.
Kentico_RichardSHi,Thank you for your message.Is the session really what you are looking for? From your description it seems like you want to get the current user name, is that correct?If this is the...
View ArticleRE:Stream file from content tree
kentico_martind2Hello David,I'm still not sure what exactly do you imagine under the "stream" but you can try to use our API and search for some helpful method in the API Reference (e.g. DocumentHelper...
View ArticleRE:Programatically choose page template
kentico_martind2Hello,Please take a look at the following example code which is used to set a page template for a document:CMS.DocumentEngine.TreeNode folderNode =...
View ArticleREST API Update SKU PUT
JoeHi,I am trying to update a SKU_Info's SKUAvailableItems field. I receive a 404 error. Am I sending the PUT request to the wrong URL? Here is my request:PUT http://www.mysite.com/rest/ecommerce.sku/2...
View ArticleRE:Stream file from content tree
david.mavin-skyHi,Its OK I have sorted it now. You have to connect to the tree provider, grab the document via the Document Helper class and then use the Attachment Manager to get the attachment and...
View ArticleRE:Stream file from content tree
david.mavin-skyHi,By the way if you wanted the binary stream you via a stored procedure or whatever you cannot use Document entity you have to use the attachment entity. So I guess you could get the...
View ArticleRE:Stream file from content tree
david.mavin-skyHi,Finally on this, I I am not too sure why you are confused with the term stream? Your API actually has a boolean flag which states "Binary Stream" true or false, e.g retrieve binary...
View ArticleRE:Stream file from content tree
kentico_martind2Hi David,I just want to clarify the "stream" word in your definition because some users under the "stream" imagine just a content of the page, so just wanted to be sure what exactly are...
View ArticleRE:MVC route priority
kentico_sandrojHello,We will share the feedback with our developers but MVC support will be much improved in the next version.Best Regards,Sandro
View ArticleRE:REST API Update SKU PUT
kentico_sandrojHello,Are you able to GET and POST? If so, this article may explain why the PUT (and DELETE) would not work. Please let me know if that is the case here.Best Regards,Sandro
View ArticleRE:REST API Update SKU PUT
JoeHi,I am able to perform GET requests, but not POST or PUT requests. I have removed the WebDAV module from the article, however, the issue persists. I also added the verbs to the extensionless urls...
View ArticleRE:REST API Update SKU PUT
kentico_sandrojHello,Thank you for confirming that. In that case the issue is likely in the path, have you tried: /rest/ecommerce.sku/currentsiteAlso, please review the documentation and ensure the...
View ArticleRE:REST API Update SKU PUT
JoeThanks for the info. I did get it to work with POST. I adjusted my web.config and I got it to work:web.config changes public bool UpdateStock(string sku, int quantity) { COM_SKU theSKU =...
View ArticleRE:REST API Update SKU PUT
kentico_sandrojGreat, I am glad you got it to work. Thank you for sharing the solution!Best Regards,Sandro
View Article