Show message in skuid mobile

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Is there a way to show a message to the user in skuid mobile? Maybe as a notification or something?
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
What is your use case?

Thinking out loud:

The action framework can (1) show a message (2) set a popup. Another option is to use a info text or template component. Of course, your would need a model to hold the results or manipulate via JS.
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
In the skuid mobile page composer I don't have the option to "show message and block UI" in the actions list. I was able to do that anyway via jQuery:

$.blockUI({message: 'Hello World'})
I want to be able to show a simple alert style message like "Your record was saved", without blocking the UI. Or "There was the following error + errorMessage". I was looking for something like a "Toast" in android which simply alerts a message.
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Do you have the following options?

Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
Nope... are you on the new release version?

Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Skuid 5.21.8
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
That's weird I'm on 5.6. 
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
I am on the DF14 release: http://www.skuidify.com/skuidreleases
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
Rob I'm still on Summer 14, doesn't the update to newer versions happen automatically?
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
No we have not updated you automatically.  We will do so when the Superbank release goes GA.   There have been a number of point releases between summer and now - most notably what we rolled out for Dreamforce.  Get the goodies at skuidify.com/skuidreleases. 
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
Thanks for your help Irvin I was able to use jQuery by pulling in a "InfoText" component and using the following code:

if(errorCriteria){
    var inf = $('#infoText');
    if(inf){
        inf.text('Required fields are missing. Fields outlined in red are required.').css('color','red');
    }
    return;
}
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Good to hear. I have a similar use case and this exchange has provided me a solution as well.