I’m very new to learning how to use K2 Blackpearl and am trying to understand how to effectively use SmartObjects.
Basically I have a list of questions I want to ask a user so currently I’ve created a smartObject with 2 attributes (Question, Answer). I have a list of all the questions I want to ask stored in a SQL server db.
Is it possible to auto-create either an InfoPath form or as ASP.NET page (At this stage I’m not too bothered which one I use – just want to see something working so please feel free to recommend which one is easiest) which will get the questions from the database and auto-create the ‘fields’ which the user will need to place an answer to the question… Then save this back to the smart object?
i read much about Core Data.. but what is an efficient way to make a count over an Entity-Type (like SQL can do with SELECT count(1) …). Now i just solved this task with selecting all with NSFetchedResultsController and getting the count of the NSArray! I am sure this is not the best way…
I have a listbox with a data template. The problem is that it expects the source to be a string. The string I have is a uri of an image inside the xap file. So it would be uri( xxx, uri.relative) How do I get it to look inside the xap file for the image since I can only use a string value?