-
-
Save tyoshikawa1106/5d5f7842b84003c90088 to your computer and use it in GitHub Desktop.
hi if you implement it in the lightning experience or mobile 1
I am doing in lightning experience, but it is still not working. Do we need to add any particular interface in component?
I also tried and it did not worked for me. Please suggest if anyone found a way to work with navigateToSobject related tab.
Alternative is the navigateToRelatedList component to go to the "Attachment" related List.
handleClick : function (component, event, helper) {
var relatedListEvent = $A.get("e.force:navigateToRelatedList");
relatedListEvent.setParams({
"relatedListId": "CombinedAttachments",
"parentRecordId": event.target.id
});
relatedListEvent.fire();
}
"You can set a specific slide in the Salesforce app, but not in Lightning Experience."
Please refer to this site: https://developer.salesforce.com/docs/component-library/bundle/force:navigateToSObject/documentation
I also wanted to use "related" but I just found out this today.
I have tried the above code and I found that the value for attribute"slideDevName" is not working. No matter what we give there[details,related] it's just navigating/refreshing the page.