Skip to main content

(Optional) External ID / Publisher Imp id in Bridge

External ID or Publisher Imp 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(); //Optional
String getExternalSecondaryId(); //Optional
String getPubImpId(); //Optional
}

For example:

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

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

@Override
public String getPubImpId() {
return "value333";
}

Step 2

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

SFWebViewWidget.setParamsDelegate(this);