Posts

web applications - How to create a shortcut for a simple app in Sitecore 7? -

i wrote simple application using web forms have data uploaded sitecore. application works fine can't shortcut created or configure application in sitecore desktop. took following steps create app. created application @ location - /sitecore/content/applications/ following template - /sitecore/templates/sitecore client/applications/application. entered path , name application. i created shortcut @ following location points above app - /sitecore/content/documents , settings/all users/start menu/left. i've checked security on , shows read access sitecore client user , author roles have. can't see shortcut in master database. also, can't see app admin. i'm using sitecore 7.2. appreciated. thanks i remember having issue, try following: go view ribbon, click on “raw values” , go shortcut item , check application field, should (notice .aspx in url , id parameter): <link text="app name" linktype="internal" url="/applica...

Apigee Usergrid: Does usergrid allow subcollections? -

i understand in usergrid ui can create individual collection , not allow me create collection under collection. there way of doing . otherwise forced write business logic in proxy layer don't want do. with regards -s there no concept of subcollection, can use connections. can this: post cats/fluffy/hasa/toys/ball the above mean that entity of type "cat" connected entity of type "toy" called "ball" connection verb "hasa". you can store sub-objects in individual entity (e.g. full json supported). if want describe use-case bit more, can maybe recommend other ways structure data.

jquery - Creating multiple instances of dialog box -

i'm new jquery , java , i'm trying head round creating multiple instances of dialog box. i'm using in head: <script src="external/jquery/jquery.js"></script> <script src="jquery-ui.js"></script> if have 1 button , and dialog box works. when add stops working. i'm sure quite easy fix i'm struggling. <h2>subjects</h2> <button id="opener">maths</button> <div id="dialog" title="dialog title">maths important subject.</div> <br> <button id="opener">english</button> <div id="dialog" title="dialog title">this important</div> <br> <script> $( "#dialog" ).dialog({ autoopen: false }); $( "#opener" ).click(function() { $( "#dialog" ).dialog( "open" ); ...

c# - Roslyn Diagnostic + Visual Studio Colorisation -

does know can location "simple" example of colourisation of token based on roslyn diagnostic. yep can make them info, warning, error or hidden. let want use hidden doesn't appear in errors list/window, accessible later. now i've got these hidden diagnostic, affect colourisation of text in ide. this i've tried for. private sub createvisuals(byval line itextviewline) try 'grab reference lines in current textview dim textviewlines = _view?.textviewlines if textviewlines nothing exit sub if line nothing exit sub dim linestart integer = line.start dim lineend integer = line.end dim q = textviewlines.firstordefault if q nothing exit sub dim qq = q.snapshot.getopendocumentincurrentcontextwithchanges if qq nothing exit sub dim sm = qq.getsemanticmodelasync.result '..getsemanticmodelasync.result ' dim di = sm.getsyntaxdiagnostics.toarray if sm nothing exit sub dim diags = sm.getdiagnosti...

ios - PFQueryTableViewController in Swift using Cloud Code function -

i'm trying convert simple uitableviewcontroller pfquerytableviewcontroller in swift. far know have initialise class that: ( source ) class testtableviewcontroller: pfquerytableviewcontroller { required init(coder adecoder: nscoder) { super.init(coder: adecoder) } override init(classname aclassname: string!) { super.init(classname: aclassname) self.parseclassname = aclassname self.textkey = "your_parse_colomn_you_want_to_show" self.pulltorefreshenabled = true self.paginationenabled = false } } i have 2 problems: somehow cannot import pfquerytableviewcontroller i use cloud function feeding table instead of query object. any idea? in bridging header swift need import "parseui.h" below. need initialize class name in 'init:coder' #import '<parseui/parseui.h>' init of pfquerytableviewcontroller class object override init!(style: uitableviewstyle, classname: string!) { super.init(style:...

iOS to Parse.com - SaveInBackground Object ID is null -

i struggling find why getting null value when using saveinbackgroundwithblock parse.com. sure missing something, have tried both if (!error) , if(succeeded) same result object created eventid (the objectid) null... suggestions? thanks in advance! [event saveinbackgroundwithblock:^(bool succeeded, nserror *error) { if (!error) { [commonhelper hidebusyview]; eventobj *obj = [[eventobj alloc] init]; obj.eventid = event.objectid; obj.eventname = strnameevent; obj.eventdatetime = self.dateevent; obj.eventaddress = straddress; nslog(@"eventid: %@",self.eventobj.eventid); previewinvite *invitepreview =[[previewinvite alloc] init]; invitepreview.eventobj = self.eventobj; [self.navigationcontroller pushviewcontroller...

unity3d - unity doesn't show preview -

Image
my question quite simple. learning unity , watching tutorial making 2d game. in tutorial, there preview section @ bottom right corner. in unity, there nothing there. there inspector on right , below of add component there nothing. can explain me how can activate part? in advance! this want: this preview box resources. shows preview of resource. show must click on 1 of resources(like image). however when not have resource selected not show