element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 175 subscribers
  • Views 2117 views
  • Users 0 members are here
Related

Designlink possible with Farnell (Europe) ordercodes?

Joop14
Joop14 over 11 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

Top Replies

  • Former Member
    Former Member over 11 years ago in reply to Former Member +1
    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…
  • Former Member
    Former Member over 11 years ago in reply to autodeskguest +1
    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…
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    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
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    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
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    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
  • Former Member
    0 Former Member over 11 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
  • autodeskguest
    0 autodeskguest over 11 years ago in reply to Former Member

    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
  • jo6466
    0 jo6466 over 8 years ago in reply to Former Member

    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
<
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 © 2025 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube