Build with IDX Broker › Forums › API › API Saved Links – adding Sub Header
Tagged: saved link api, sub header
-
AuthorPosts
-
-
Is there a way to add the saved link sub-header when we create a saved link via the API?
I tried naming it “subheader”, “subHeader”, “sub-header”, can’t seem to make it work.
The saved link gets created with no errors, but there’s nothing added for the sub header.Thanks in advance
Dario(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading... -
A bit more info.
The test data array I am using is:
$data = array(
‘linkName’ => ‘Barrington’,
‘pageTitle’ => ‘Barrington waterfront’,
‘linkTitle’ => ‘Barrington waterfront’,
‘descriptionMeta’ => ‘description meta’,
‘keywords’ => ‘keyword1,keyword2,keyword3’,
‘subheaderPosition’ => ‘Above Existing Sub-header’,
‘subheader’ => ‘Barrington’,
‘queryString’ => $search_array
);All gets added except ‘subheaderPosition’ and ‘subheader’
(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading... -
Subheader is not an available option for the array
If you make the call without any Put Data supplied then a list of fields that can be used should be returned.
The Output is this:
array(11) { [“pageTitle”]=> array(8) { [“explanitoryText”]=> string(10) “Page Title” [“required”]=> string(1) “1” [“maxLength”]=> string(3) “255” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“linkName”]=> array(8) { [“explanitoryText”]=> string(15) “Link URL (Name)” [“required”]=> string(1) “1” [“maxLength”]=> string(0) “” [“dataType”]=> string(6)
“string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“useDescriptionMeta”]=> array(8) { [“explanitoryText”]=> string(25) “Use Meta Tags Description” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(1) “y” [“choices”]=> array(2) { [“y”]=> string(3) “Yes” [“n”]=> string(2) “No” } [“description”]=> string(0) “” } [“descriptionMeta”]=> array(8) { [“explanitoryText”]=> string(21) “Meta Tags Description” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“useKeywordsMeta”]=> array(8) { [“explanitoryText”]=> string(22) “Use Meta Tags Keywords” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(1) “y” [“choices”]=> array(2) { [“y”]=> string(3) “Yes” [“n”]=> string(2) “No” } [“description”]=> string(0) “” } [“keywords”]=> array(8) { [“explanitoryText”]=> string(18) “Meta Tags Keywords” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“featured”]=> array(8) { [“explanitoryText”]=> string(30) “Place On Custom Links Showcase” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(1) “y” [“choices”]=> array(2) { [“y”]=> string(3) “Yes” [“n”]=> string(2) “No” } [“description”]=> string(0) “” } [“linkTitle”]=> array(8) { [“explanitoryText”]=> string(12) “Link Display” [“required”]=> string(1) “1” [“maxLength”]=> string(3) “255” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“linkCopy”]=> array(8) { [“explanitoryText”]=> string(16) “Link Description” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“agentID”]=> array(8) { [“explanitoryText”]=> string(28) “Assign an agent to this link” [“required”]=> string(1) “0” [“maxLength”]=> string(0) “” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } [“queryString”]=> array(8) { [“explanitoryText”]=> string(16) “Saved Link Query” [“required”]=> string(1) “1” [“maxLength”]=> string(2) “40” [“dataType”]=> string(6) “string” [“allowedCharacters”]=> string(0) “” [“defaultValue”]=> string(0) “” [“choices”]=> array(0) { } [“description”]=> string(0) “” } }(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading... -
Thanks Tom
That sucks though. It could be a tremendous feature if I could create the saved links outside the system.
I really need the sub-header – very important for SEO purposes and for usability.IDX broker, any chance you could add this?
It’s only one more field 🙂Thanks
Dario(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading... -
Post the request over in the enhancements section. https://developers.idxbroker.com/forums/forum/developer-resources/enhancements/ IDX Broker looks there for popular requests.
(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading...
-
-
AuthorPosts
- You must be logged in to reply to this topic.