Page 1 of 1

service js files not in project

Posted: Mon Feb 17, 2014 5:13 pm
by Shawn Johnson

while using the saleforce services i have had to remove and add them back. now I think the project is not including the js files for the service.

i am now getting
Salesforce_challenge__c_read_service is not defined

I don't want to have to recreate this app to get the service working.

how do i get the app to re recognize the service i am using?


service js files not in project

Posted: Mon Feb 17, 2014 6:03 pm
by Maryna Brodina

Hello! Could you clarify in more details what have you done and post some screenshots?


service js files not in project

Posted: Mon Feb 17, 2014 6:39 pm
by Shawn Johnson

The issue is that i am getting an error message
Salesforce_challenge__c_read_service is not defined

Image

I think the project is missing the js files related to the service

I created another app and added the service and it works fine.


service js files not in project

Posted: Tue Feb 18, 2014 2:28 pm
by Maryna Brodina

Hello! Working on it...


service js files not in project

Posted: Tue Feb 18, 2014 6:22 pm
by Maryna Brodina

Have you changed anything on Source tab? For example if you changed some file before adding services to project, these changes won't be applied. Please delete these files and Undo all source changes.


service js files not in project

Posted: Tue Feb 18, 2014 6:51 pm
by Shawn Johnson

I have not made and source changes since adding the salesforce services.
I have made some small html layout changes previously and all my other services
are working.

This is pretty frustrating, when will the builder be able continue to be useful after you make custom changes to the source? i have make a lot of small changes then I now need to undo, if the builder can't isolate changes to the individual pages it makes it pretty difficult to peel back to the code for quick fixes.

is there a road map to address this? I understand this must be a difficult issue to address. but the builder can't simply not add new code because something unrelated has be edited.

maybe you could create a suggested work flow to manage the flow of developing on the platform when you edit the source. A work flow that would help you not have issues when u need to edit the source.

i could really use some help so i don't undo all my changes. any chance can walk me just adding the files i need?


service js files not in project

Posted: Tue Feb 18, 2014 8:40 pm
by Maryna Brodina

This is the way it works... You can use this feature to do some changes which can't be done through editor on the last developing stage. If you go to Source tab you'll see there blue colored (edited) files. After you edit any file on Sourse tab this file has higher priority and no changes from editor won't be applied. We're going to add warning message for users who want to edit source files.

As a workaround you can add manually your custom JS assets in header of JS files on Source tab.