You need to sign in to do that
Don't have an account?
Ken Koellner
Navigate to a record in Salesforce1 (SF1)
I have a VisualForce page. When it completes, I want to redirect the user to a new object. In desktop, I'd just use "/" and the record ID.
When using one/one.app, that doesn't appear to work correctly. I end up back on the record from where the VF page launched.
Looking at a record in SF1 using Chrome, I see the URL --
https://hmhco--sb5.cs15.my.salesforce.com/one/one.app#/sObject/006e0000007sgOaAAI/view?t=1420466929144
I could construct that URL except I don't know what the "t" parameter is. The 006e0000007sgOaAAI is the record ID. But if I don't put on the "t" parameter, I just get the recent list, not the record. I have no idea what the 1420466929144 is on the "t" parameter. I'm thinking if I knew where that came from, maybe I could construct that URL.
Any ideas?
When using one/one.app, that doesn't appear to work correctly. I end up back on the record from where the VF page launched.
Looking at a record in SF1 using Chrome, I see the URL --
https://hmhco--sb5.cs15.my.salesforce.com/one/one.app#/sObject/006e0000007sgOaAAI/view?t=1420466929144
I could construct that URL except I don't know what the "t" parameter is. The 006e0000007sgOaAAI is the record ID. But if I don't put on the "t" parameter, I just get the recent list, not the record. I have no idea what the 1420466929144 is on the "t" parameter. I'm thinking if I knew where that came from, maybe I could construct that URL.
Any ideas?
Please take a look at the below link
http://www.salesforce.com/us/developer/docs/salesforce1/Content/salesforce1_dev_jsapi_sforce_one.htm