Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 28, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Extending the account view in SLX mobile web
Justin
Posts: 2
 
Extending the account view in SLX mobile webYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 11 1:38 PM
fiogf49gjkf0d

I'm new to SLX and javascript in general, but what I'm trying to do is add to the layout in the account view to have a new tab section.  However my code just overwrites the view entirely.  I'm not exactly sure how to add on to it instead of replacing it.  I guess I could paste all the code from the base configuration, but that's much less than ideal.  Any ideas?


 


dojo.extend(Mobile.SalesLogix.Views.Account.Detail, {
createLayout: function() {
return this.layout || (this.layout = [{
options: {
title: 'New Section'
},
as: [{
name: 'AccountName',
label: 'account'
},{
name: 'Account.something',
label: 'whatever else'
}]
}]);
}

});


Thanks

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Extending the account view in SLX mobile webYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Dec 11 10:26 AM
fiogf49gjkf0d

Up in the github it lays out how to do customizaions.....this doesn't touch nor replicate the underlying base configuration at all. Rather, it injects or overwrites  the code from your custom project into the base code. The dojo stuff is getting updated on a daily basis.....1.2 Beta (which doesn't include the dojo code) is coming out next week.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Extending the account view in SLX mobile webYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 11 6:33 AM
fiogf49gjkf0d

What RJ is referring to is found here: https://github.com/SageScottsdalePlatform/argos-sdk/wiki/Creating-An-Application-Module


Basically, an ApplicationModule is a separate Javascript file that allows you to override stuff in the base views. When customizing mobile, you really don't need to touch any of the OOTB files for the most part. The ApplicationModule is a layer on top that changes the base files by adding, removing, or changing stuff. The Wiki on the argos-sdk repository on github is a great place to read up on how to do this.

[Reply][Quote]
Justin
Posts: 2
 
Re: Extending the account view in SLX mobile webYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 11 10:33 AM
fiogf49gjkf0d

Right, I understand it's overwriting the code.  I just wondered if there was some sort of way to retrieve the fields in the OOTB code, so that I didn't have to replicate every field on the account detail form inside of the ApplicationModule.


My other question is that if I use the following code to attempt to add a field to the account edit form, it doesn't appear.  Am I overlooking something?


 


 


this.registerCustomization('edit', 'account_edit', {
at: function(row) { return row.name == 'Type'; },
type: 'insert',
where: 'before',
value: {
label: 'regionField',
name: 'Region',
type: 'text',
}
});


 

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Extending the account view in SLX mobile webYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 11 1:07 PM
fiogf49gjkf0d

Have you checked your dev-index.html configuration pointer? (i.e. are you still running off of the minimized production code?).

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/28/2025 5:36:59 PM