Questions tagged [lightspeed]

Lightspeed is an Object-Relational Mapper (ORM) for .NET.

Mindspace Lightspeed

56 questions
1
vote
2 answers

Fix Array in JSON Returned

I am calling contacts from the LightSpeed API. When i call for the details of client "A" the JSON contains the following for his related email(s) { "Emails": { "ContactEmail": { "address": "clienta@yahoo.com", …
Trevor Daniel
  • 3,785
  • 12
  • 53
  • 89
1
vote
2 answers

MVC3 Validation with Lightspeed

My ORM (LightSpeed) generates this for Animals table, with Name and Age. Using MVC3 and Razor [Serializable] [System.CodeDom.Compiler.GeneratedCode("LightSpeedModelGenerator", "1.0.0.0")] [System.ComponentModel.DataObject] …
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125
1
vote
1 answer

MVC3 app architecture - how to store data

Goals: Be able to rapidly develop an application in MVC3 Have validation in one place (ie probabaly the model) where I already have a database Question: What is your current toolchain of choice for this? I've spiked out: MvcScaffolding -…
1
vote
1 answer

Refresh Access Token in LightSpeed Retail API

I am unable to refresh the Access Token once it expires. I'm not sure what's wrong and I followed as per documentation. I am using WCF service and getting the below error. {StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: …
A. Gopi
  • 21
  • 3
1
vote
0 answers

Remove 'Add to Cart' for certain products

I'm trying to remove the 'Add to Cart' button for certain product categories. Is there a way to run script on the product page to possibly take the category breadcrumb and use that to determine if the 'Add to Cart' Button is visible? Here is the…
1
vote
2 answers

Mindscape.Lightspeed Error: Invalid object name 'KeyTable'

I'm using Mindscape.Lightspeed and getting the following error: Error: Invalid object name 'KeyTable'. LightSpeedContext context = new LightSpeedContext("Development"); using (var uow…
hotcoder
  • 3,176
  • 10
  • 58
  • 96
1
vote
1 answer

Mindscape.LightSpeed Database connectivity problem

I'm using Mindspace.Lightspeed in my C# desktop application for the first time but I'm getting errors and unable to connect to database. My App.config contains the following code:
hotcoder
  • 3,176
  • 10
  • 58
  • 96
1
vote
1 answer

Show the function text onclick

I'm experimenting with Lightspeed / Twig / Rain and therefore I really need some help with something I'm trying to do. So there are a few fields on a page with values product_configure_custom_2459429 and product_configure_custom_2459282. People can…
1
vote
1 answer

Apache 301 redirect with get parameters

I am trying to do a 301 redirect with lightspeed webserver htaccess with no luck. I need to do a url to url redirect without any related parameters. for example: from: http://www.example.com/?cat=123 to: http://www.example.com/some_url I have…
yaniv14
  • 691
  • 1
  • 10
  • 24
1
vote
1 answer

Dynamic Data - Success or Failure?

Azure, probably ASP.NET Webforms. We're building a management interface for about 8 tables. Usual CRUD :-) 2 backend users, and doesn't need to look flash. We'd like to use Mindscape's LightSpeed as the ORM tool Question: Is Dynamic Data worth…
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125
1
vote
1 answer

Alias "custom.controllers.ExampleController.php" is invalid

This is the error: Alias "custom.controllers.ExampleController.php" is invalid. Make sure it points to an existing PHP file and the file is readable. My code is given below main.php=> return array( 'controllerMap' => array( …
Abhishek Gupta
  • 109
  • 1
  • 7
1
vote
2 answers

Lightspeed Retail Cloud API WooCommerce Integration

I am doing some digging into how to integrate the LightSpeed Cloud API into WordPress WooCommerce plugin. http://www.lightspeedretail.com/cloud/help/developers/ I've gained access to my API key and account id and I am using the OAuth class provided…
0
votes
1 answer

MVC3 - UpdateModel... how to change incoming data?

UpdateModel fails because arcm.Notes was null coming into this method and I want it to be an empty string. Maybe I need to refresh the ValueProvider (?) after setting Notes to "", so I can use UpdateModel. public ActionResult Edit1(Guid id,…
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125
0
votes
1 answer

MVC3 UpdateModel - Setting the Id property is only supported with .NET 3.5

Getting an error caught in UpdateModel "Setting the Id property is only supported with .NET 3.5+ during entity deserialization" System.Exception {System.NotSupportedException} public ActionResult Edit1(Guid id, ActivityResponseConsumerMobile arcm)…
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125
0
votes
0 answers

maxDynRespSize in CyberPanel

When i download Database in Sql from phpMyadmin from CyberPanel i get this error The dynamic response body size is over the limit, the response will be truncated by the web server. The limit is set in the key 'maxDynRespSize' located in the tuning…