User Profile & Activity

Jimmy Tungol Member
Page
of 13
Yes, the contoller has a MultiPart enabled.
We saw the AppFramework project that sends the image file of the User details via UserRepository, which uses Request.AddFile() method to add the image file to the request. However, I don't think this is necessary when using the IEditableEntityRepository... is it? I don't see this method being used in MyInventory_WebAPI either. So please, kindly provide somes answers to shed some light to this concern.

Thanks!
Hi,

Any feedback regarding this issue?
Posted: March 13, 2015 5:00 PM
Guys,

Any feedback on this concern? If you need further info, please let us know.
If you're using the samples provided by Crosslight then you will be having issues with LogoView. That's fine. I think the solution to this is by using the correct view. That is to use a ScrollView in order for AutoScrollToVisible to work.
Here's how.

        public UserLoginViewController()            : base("UserLoginView", null)
        {
        }

        public override bool HideKeyboardOnTap
        {
            get
            {
                return true;
            }
        }

        public override bool AutoScrollToVisible 
        {
            get 
            {
                return true;
            }
        }

        public override bool ShouldAutorotate()
        {
            return false;
        }

        protected override void InitializeView()
        {
            base.InitializeView();

            // Support pre-iPhone5 display
            // Get the control instance from the view controller.
            var p_BlurryView = this.View.ViewWithTag(101);
            var p_LogoView = this.View.ViewWithTag(102);

            // Support pre-iPhone5 display
            if (UIScreen.MainScreen.Bounds.Height <= 480)
            {
                p_LogoView.Frame = new CGRect(
                    p_LogoView.Frame.Left + 10, 
                    p_LogoView.Frame.Top,
                    p_LogoView.Frame.Width - 20, 
                    p_LogoView.Frame.Height - 35);

                p_BlurryView.Frame = new CGRect(
                    p_BlurryView.Frame.Left, 
                    p_BlurryView.Frame.Top - 40,
                    p_BlurryView.Frame.Width, 
                    p_BlurryView.Frame.Height);
            }

            // Needed in iOS 7.1
            p_BlurryView.SetNeedsDisplay();
            p_LogoView.SetNeedsDisplay();
        }


Have you reviewed this case? Are there any workaround?
Well, there may be entities that can be combined into one entity; however, that is not the case for our model. The entities are generated with T4 templates from Intersoft's Web API extension, but the repositories are incomplete. Which means there are entities without a corresponding repository object, which is based on IEditableEntityRepository<TEntity, in TKey> class. Probably because Crosslight (as you mentioned) does not support composite primary key (or multiple primary keys). Attached is a screenshot of our dummy model, generated from our enterprise database. Please refer to the entities highlighted in red... those are the entities that do not have repositories.
Awesome! Please notify us about this update. We'd really love to see how it'll turn out.

Thanks!
Nice, how about for other platforms? Like android, windows phone, and winrt?
All times are GMT -5. The time now is 2:24 PM.
Previous Next