iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Fabian,
To add a server-side query, you will need to extend the controller by adding the desired method that will be called from the client. While in the client, you can use named query which is built into the DataListViewModel.
To learn more how it works, please download the sample here. Pay attention to the CategoryListViewModel.cs in the Core project, and the InventoryController.Partial.cs in the web project.
Hope this helps.
Hello Fabian,
Could you please inform what type of repository that you use? Is it EditableEntityRepository?
Also, could you please inform the error you received in details?
Thanks!
Hello Max,
Yes, it is possible to use the table structure you mentioned with Crosslight's user management. In fact, Crosslight's service is designed to be very flexible and as data agnostic as possible, so you can use any kind of table structure in your apps. You just have to carefully remap the entities/properties in existing functions to your own entities/properties.
Since you're also using ASP.NET Identity (although newer version), it should be easier to adjust the current template to the referred table. Note that Crosslight's user management extends and customizes the original IdentityContext, so you should be able to map the required properties in OnModelCreating method of the particular entity context as well.
On the other hand, we will also include an agenda in our roadmap for ASP.NET Identity 2.0 support.
Hello Thomas,
We have submitted latest nightly build for Crosslight 3 which you can download here: http://git.intersoftpt.com/projects/CROS/repos/updates/browse/Crosslight3_0_5000_180
This build should address the Xamarin iOS compability, and was also built against a newer version of Xamarin iOS Unified. Full changelog can be read in the release notes here. Note that this build is not final yet, which means we could include more fixes until the final scheduled release date, typically end of month.
Yes, it is possible to navigate to different target (ViewModel) in the list. In the binding provider of the list, bind the table view to the DetailNavigationTargetProperty and specify the property that will be queried during navigation.
Finally, in the list ViewModel, you added a property that corresponds to the binding definition. You can then put the logic in the property's getter and return the desired NavigationTarget. This flexibility allows you to navigate to any kind of different page based on your condition, not just limited to two.
The example of the property definition would look like the following:
public NavigationTarget Target{ get { if (someCondition) return new NavigationTarget(typeof(ViewModelA)); else return new NavigationTarget(typeof(ViewModelB)); } }
All our samples are already available in Unified version. Look at the "ios-unified" branch. We will merge it to master when the stable version is released alongside with Xamarin's release.
Nevertheless, we've identified the issue in the classic iOS and already queue a new build which will be availabletomorrow.
Thanks for your issue report. It seems the Xamarin 8.4 introduces several breaking changes which will investigate and resolve soon.
However, we noticed that you are still using Xamarin iOS Classic project. We highly recommend you to upgradeyour project to Xamarin iOS Unified, which should work fine with the latest build (172). Furthermore, projects without 64 bit support will no longer approved by Apple by Feb 1st.
The Crosslight version that is compatible with stable Xamarin version is expected to be available on the same week of Xamarin release. Stay tuned!
Hi Ryan,
Thanks for reporting this issue. The missing templates was due to the new project type introduced for XamarinUnified iOS. However, if your iOS project is still classic, the Crosslight iOS templates should appear properly.
We plan to ship the new iOS templates for Unified project type in this month's update.
Hello Jimmy,
In your scenario, do you need to talk with the server before the login? If not, then presumably you can generate the web server URL based on the company code in the client.
If that's the case, I'd suggest you to add a text field in the same login form, i.e., above the user name field. This avoids unnecessary complexity and also provides a good experience for your users. I'd imagine that you can capture the company code in the LoginViewModel and then generate the web server URL respectively. You can then easily override the appSetting's WebServerUrl in the method by resolving the instance of the setting through the following code:
var settings = Container.Current.Resolve<AppSettings>;settings.WebServerUrl = GenerateServerUrl(companyCode);
Once the desired properties are set to the app settings, the subsequent call to the service will honor the new values.
Hope this helps!
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname