Skip to main content

(Optional) External ID in Bridge

External ID Support in Bridge

Step 1

In the "Article Activity" the app developer should implement the SFWebViewParamsDelegate interface which is basically:

public interface SFWebViewParamsDelegate {
String getExternalId();
String getExternalSecondaryId();
String getPubImpId(); //Optional
}

For example:

@Override
public String getExternalId() {
return "value111";
}

@Override
public String getExternalSecondaryId() {
return "value222";
}

Step 2

Before initializing the widget, the app developer should set the delegate as detailed below:

SFWebViewWidget.setParamsDelegate(this);