element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Designlink possible with Farnell (Europe) ordercodes?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 16 replies
  • Subscribers 190 subscribers
  • Views 2991 views
  • Users 0 members are here
Related

Designlink possible with Farnell (Europe) ordercodes?

Joop14
Joop14 over 12 years ago

Hello,

 

I tried to use the Designlink button in Eagle but it seems to work only with Newark.

Because I'm located in Europe, is it possible to use Designlink with the Farnell database instead?

The ordercodes generated by Newark don't seem to be accepted by the Farnell (Europe) website.

 

Thanks in advance,

 

Joop

  • Sign in to reply
  • Cancel
  • jo6466
    0 jo6466 over 9 years ago in reply to e14 Contributor

    Hi Martin

    I found the solution

     

    Juste change this line as follow and all will work :

    string DISearchURL = "be.farnell.com"; // Unified to one URL since May 12

     

    Best regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • autodeskguest
    0 autodeskguest over 12 years ago in reply to e14 Contributor

    On 5/6/2014 12:51 PM, Eystein Orsnes wrote:

    Good Lord, why does which country you live in even matter? Isn't this

    just about accessing a database to identify the parts you want? I live

    in Norway, so yeah, guess I will have to wait long and hard before I get

    to be included... Edited the script as described, but didn't work... Why

    exactly can't we just access Newark?

     

    The country matters because Designlink want to show pricing in your

    local currency. Setting the country code to the US code should allow you

    to check Newark's inventory.

     

    hth,

    Jorge Garcia

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to autodeskguest

    Hi Jorge.

    Good Lord, why does which country we live in even matter? Isn't this just about accessing a database to identify the parts we want, or is it for actual ordering? I live in Norway, so yeah, guess I will have to wait long and hard before I get to be included... Edited the script as described, but didn't work... Why exactly can't we just access Newark?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to e14 Contributor

    Hi again

    I found this old post and guess what ... it worked !

    designlink.zip

    Hope this help

    (we need to have a look on the code he use ;-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to e14 Contributor

    Hi Lieven

    Many thanks

    When I run the script I have dialog saying :

     

    Can't open '/Applications/EAGLE-6.5.0/fdlQuery.html'

     

    Permission denied

     

    I have created the file and also file:///Applications/EAGLE-6.5.0/fdlResponse.html

    so now the script runs but I have the same error as usual

    Error while accessing 'https://api.element14.com/pffind/services/SearchService':

     

    299 Error downloading https://api.element14.com/pffind/services/SearchService?callinfo.apiKey=sf4kqy6u29tkt95gg5a3wejz - server replied: Bad Request

     

    <h1>Bad Request</h1>

     

    btw here are the content of the 2 html files

    fdlQuery.html :

    <soapenv:Envelope  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:v1="http://pf.com/soa/services/v1">

    <soapenv:Header>

       <v1:userInfo>

         <v1:signature>GHvMyPN967kFEJKtpJe2w11qMcA=</v1:signature>

         <v1:timestamp>2014-04-09T15:51:22.000</v1:timestamp>

         <v1:locale>fr_UK</v1:locale>

       </v1:userInfo>

       <v1:accountInfo>

         <v1:customerId>CadSoft2</v1:customerId>

       </v1:accountInfo>

    </soapenv:Header>

    <soapenv:Body>

       <v1:keywordParameter>

         <v1:keyword>DB15</v1:keyword>

         <v1:offset>0</v1:offset>

         <v1:numberOfResults>50</v1:numberOfResults>

          <v1:RefinementParameters>

            <v1:inStock>false</v1:inStock>

            <v1:rohsComplaint>false</v1:rohsComplaint>

          </v1:RefinementParameters>

        </v1:keywordParameter>

      </soapenv:Body>

    </soapenv:Envelope>

     

    and fdlResponse.httml :

    <h1>Bad Request</h1>

     

    any other ideas ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to e14 Contributor

    Hello Jean-Luc,

     

    you can find it here: https://gist.github.com/hollie/bc057d8c9ea3805e4f87.

    Note however: I tried the modified script on another computer with another locale (and another OS) and it was not working there. So I'm not sure it will help you further. I did not debug it further. It would be cool if element14 people would have a look at this to fix it for everybody. Maybe ins tread of guessing the URL/server and currency from the system settings they could give users an option to select the settings before running the script?

     

    Best regards,

    Lieven.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to e14 Contributor

    Hi Lieven,

    Can you post your designlink-inc.ulp for Belgium ?

    I modified it according you suggestion but It doesnt work for me

    many thanks in advance

    Jean-Luc

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to e14 Contributor

    A follow-up: when I change the country information line of 'UK' to

     

       "UK EUR 0 be.farnell.com",

     

    and set DIcountry = "UK"

     

    Then the designlink process seems to work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to jensvanhoof

    Jens,

     

    I am experiencing the same problem you have. I got the script to recognize the correct country by copying the 3 designlink ULP files to a separate folder, then making the change to desiglink-inc.ulp

     

    DIcountry = "BE";

     

    (Note, making the change to 'language' does not seem to work).

     

    Then run the script designlink-order.ulp from the folder you copied the scripts to. The script then at least tries to connect to the service defined for Belgium. I verified this by adding a debug print statement in the designlink-inc.ulp InitCountryData function.

     

    Unfortunately I then get an error:

     

    Error while accessing 'https://api.element14.com/pffind/services/SearchService':

     

    299 Error downloading https://api.element14.com/pffind/services/SearchService?callinfo.apiKey=<snip> - server replied: Bad Request

     

    <h1>Bad Request</h1>

     

    So apparently this functionality is broken for Belgium. You can get it partially working by changing the DIcountry to "UK", note that you get price in pounds then but at least the order codes seem to be correct.

     

    @jorge can you please check why designlink is not working for country code "BE"? I guess there is some configuration on the API server that does not allow request with the country code "BE".

     

    Kind regards,

    Lieven.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago

    Hi Jorge,

    I'm having exactly the same problem here. All options have been tried but I cannot get into the Dutch ("NL") Farnell store. Only into Newark.

     

    Any further suggestions on how to solve this?

     

    Thanks,

    Martin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube