Custom Links are not supported via SDF it appears?...
# sdf
d
Custom Links are not supported via SDF it appears? are there any creative workarounds out there typically used to accomplish same "Link" in Tab Category dropdown behavior, maybe a simple Suitelet that redirects to desired destination or something like that?
w
I deployed custom links two days ago in a 2021.1 account. These were used in a custcentercategory_*. There are custlink_* objects. I couldn't deploy the custcentercategory with links to custom lists though. So had to manually add those after the fact.
d
if you dont mind sharing, what do the contents of your
centercategory
Object Xml look like? I thought/tried the same thing, but the contents of mine under
linkid
node had as EXTL_CUST_24 so seemed tied to what I had manually entered on the Center Links page (I am doing just a raw Url for external link outside of NetSuite, maybe that is the difference)
w
The centercategory:
Copy code
<centercategory scriptid="custcentercategory_ap_analytics">
  <center>[scriptid=custcenter_aphandling]</center>
  <centertab>[scriptid=custcentertab_reports]</centertab>
  <label>📊Analytics</label>
  <links>
    <link>
      <linklabel>Analytics Workbook</linklabel>
      <linkobject>[scriptid=custlink_analytics_workbook]</linkobject>
      <linktasktype>LINK</linktasktype>
      <shortlist>F</shortlist>
    </link>
  </links>
</centercategory>
The Link:
Copy code
<centerlink scriptid="custlink_analytics_workbook">
  <label>Analytics Link</label>
  <url><https://system.eu2.netsuite.com/app/common/report/list.nl?sc=-160&whence=></url>
</centerlink>
d
I feel like I am missing something obvious here 😅
how was your
centerlink
created in the first place? when I go to Page: Center Link to view Custom Center Links in account, there are many that appear on that screen so I am not sure why I cannot import any with SDF... EDIT: actually is your account NS 21.1 already? Appears in Release Notes the SDF Object type was just now exposed
w
Yeah that account is in 2021.1, it definitely was added in 21.1. While developing the solution custlink* was not available. But when we were about to deploy it became available. I found out when I updated the object from the account.
👍 1
d
@Ali Syed (NS DevTools QA) related to above conversation, I was able to get around previous hurdles, however in 21.1 account now it is still preventing me from fully deploying with Developer Role since it claims to need "Custom Center Link" permission. not sure if this is an oversight or truly a different permission, default Developer Role does already have "Customer Center Link*_s_"* permission... perhaps these permissions could be consolidated, or if both are needed, be updated to have on Developer Role by default? Thanks