You need to sign in to do that
Don't have an account?
Eyal Hutter
SalesForce1 Auto populate fields when using sforce.one.createrecord
Hello,
I'm using a visualforce button in custom object layout page to create related list record of another custom object. when I use the sforce.one.createrecord the SF1 navigate to the create record page but I cannot auto populate the fields just like in standard salesforce when I passed parameters in url.
the creation page looks like this:
The lookup fields in yellow should present a read only value that is taken from a parameter passed from.
Any solution for this or a workaround?
I'm using a visualforce button in custom object layout page to create related list record of another custom object. when I use the sforce.one.createrecord the SF1 navigate to the create record page but I cannot auto populate the fields just like in standard salesforce when I passed parameters in url.
the creation page looks like this:
The lookup fields in yellow should present a read only value that is taken from a parameter passed from.
Any solution for this or a workaround?
Only way would be to use the sforce.one.navigateToURL method and use a custom Visualforce page for the new record. You can pass parameters as needed to a Visualforce page. The only way with standard functionality is to create a record with an action in the action bar. Those actions can have predefined field values defined in the setup page.
All Answers
Only way would be to use the sforce.one.navigateToURL method and use a custom Visualforce page for the new record. You can pass parameters as needed to a Visualforce page. The only way with standard functionality is to create a record with an action in the action bar. Those actions can have predefined field values defined in the setup page.
Let me know if any other conditions you do have.
Hope it helps!
Please vote for the following idea to allow sforce.one.createRecord to take an additional parameter to allow these fields to be set.
https://success.salesforce.com/ideaView?id=08730000000Dzx3AAC
Thanks
Farhantech (https://www.farhantech.com/)
supravat in bengali (https://www.shayaribg.online/good-morning-in-bengali-%e0%a6%b8%e0%a7%81%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a6%ad%e0%a6%be%e0%a6%a4%e0%a6%b6%e0%a7%81%e0%a6%ad-%e0%a6%b8%e0%a6%95%e0%a6%be%e0%a6%b2/)
suprabhat in bengali (https://www.shayaribg.online/good-morning-in-bengali-%e0%a6%b8%e0%a7%81%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a6%ad%e0%a6%be%e0%a6%a4%e0%a6%b6%e0%a7%81%e0%a6%ad-%e0%a6%b8%e0%a6%95%e0%a6%be%e0%a6%b2/)
good morning in bengali (https://www.shayaribg.online/good-morning-in-bengali-%e0%a6%b8%e0%a7%81%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a6%ad%e0%a6%be%e0%a6%a4%e0%a6%b6%e0%a7%81%e0%a6%ad-%e0%a6%b8%e0%a6%95%e0%a6%be%e0%a6%b2/)
Hello! I have encountered a requirement from Salesfroce to track BOTH ACCESS_BACKGROUND_LOCATION and ACCESS_FINE_LOCATION of our mo app users (https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/location/geolocation-overview.html ) Hovewer our app was forbidden to track ACCESS_BACKGROUND_LOCATION by Apple & Google.
I would like Salesforce to make changes in their requirements location so that ONLY ACCESS_FINE_LOCATION is needed for Geopushes sending. (WITHOUT ACCESS_BACKGROUND_LOCATION)
These changes will allow 19 500 customers, including our retail company goodwine Ukraine, to use all functionalities of Marketing Cloud that will contribute in sales boosting.
Please, vote for my idea at ideaexchange here: https://trailblazer.salesforce.com/ideaView?id=0874V0000010znOQAQ