I created an app using a sample app (Field Service Manager). My problem is that I have system created inline views and on this particular app, at the bottom of the inline table view, it has the typical โView(#)โ but to the right of that it says โNew Complaintโ. None of my other apps have this and Iโd like to change the word โcomplaintโ. I have tried a bunch of things, watched videos, searched here, and searched customer support, all to no avail. Could anyone help me figure out how I can fix this button?
Thanks
Hi @Nathan_Aycock Have a look in UX> Localise > New and change it there.
In addition if you need this to change based on the View shown, ie. you have multiple inline view types, you can use a combination of the Switch() and context(View) formulas to get a fully customized result. For example, if you have the inline view for โView1โ and a different inline view for โView2โ you would use the formula
=switch(context(View), โView1โ, โNew Entry for #1โ, โView2โ, โNew Entry for #2โ, โNewโ)
This tells the app to show those unique values for each of those 2 views only and then default back to โNewโ for everywhere else.
hmmm
Is there a limit on the number of inline views that you can apply this to?
No the switch command can just be expanded as needed. It just follows the pattern=switch(โRef Valueโ, Entry1, Result1, Entry2, Result2, Entry3, Result3, โฆ, โValue if Elseโ)
That figures, it was right under my nose this whole time !!!
Thank you so much @Lynn!!
My hair was getting gray.
@Rich
I have a detail view that shows four inline views. I tried your solution and all four of them revert to โNewโ. Am I doing something wrong? Here is what I am using:
switch(context(View), โNotes_Inlineโ, โAdd New Noteโ, โAttachments_Inlineโ, โAdd New Attachmentโ, โChain of Custody_Inlineโ, โAdd New Chain of Custodyโ, โPersons_Inlineโ, โAdd New Personโ, โNewโ)
You need to specify the Detail view that the inline view is in and not the inline view itself. Think about it from the perspective of โwhat View will the user be in when they need to see this value?โ.
When users see inline views they are in the Detail view of the parent not the inline view itself.
Ok. So I need to specify the view that the inline views are in. And I do that here right?
switch(context(IN HERE),
Making the whole thing look like this:
switch(context(ServiceLog_Detail), โNotes_Detailโ, โAdd New Noteโ, โAttachments_Detailโ, โAdd New Attachmentโ, โChain of Custody_Detailโ, โAdd New Chain of Custodyโ, โPersons_Detailโ, โAdd New Personโ, โNewโ)
No, context(ServiceLog_Detail)
should instead be literally context(View)
(with the word, โViewโ). This expression asks the question, โwhat is the name of the current view?โ
Ok. I misunderstood. So in my case it should look like this?
switch(context(View), โNotes_Detailโ, โAdd New Noteโ, โAttachments_Detailโ, โAdd New Attachmentโ, โChain of Custody_Detailโ, โAdd New Chain of Custodyโ, โPersons_Detailโ, โAdd New Personโ, โNewโ)
Yep.
OK. Thanks, Iโll give that a read. Sadly the above did not work. Perhaps there is something else affecting it.
In what way doesnโt it work? You never get any custom value?
Arenโt these my custom values?
They are, yes.
As I look back over this thread, Iโm inclined to suggest you not attempt to change the message here. Instead, merely remove the "New complaintโ text provided by the sample app and leave the custom text expression blank. Doing so will revert to the original text, โNewโ.
For this particular message, attempting to adjust the text per view is likely to introduce complexity that you might not be able to overcome. This is the primary reason I make this suggestion.
From a user-experience perspective, your new wording increases the size of the button without adding any new information: youโre adding the name of the column, but the column name is already displayed at the top of the inline table.
Very well. Your time and assistance is appreciated.
Thank you very much
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |