Log in Register FAQ Memberlist Search ContactReview Forum Index
A GoldMine Discussion and Support Community

ContactReview Forum Index » GoldBox » Remove All Broken Links
Post new topic  Reply to topic View previous topic :: View next topic 
Remove All Broken Links
PostPosted: Thu Jun 21, 2012 7:02 am Points: 0 Reply with quote
TPorter2
Awesome Administrator
Joined: 30 Jun 2006
Posts: 334
Location: Addison, TX




Is there a way using Goldbox to remove all linked documents where it says "The file cannot be found"?

Using the Contact File Verifier, I can see we have thousands like this. We don't want to fix the links, just blow them away.

Doable? Thanks!

GB9, GM 9.04.28
View user's profile Send private message

PostPosted: Sun Jun 24, 2012 3:42 pm Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




Obviously, Dave designed a way to identify the records with broken links (otherwise he couldn't have counted them). But I'm not sure how to get the list of RECIDs. I've asked Paul Laufer to take a look.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Jun 25, 2012 6:30 am Points: 0 Reply with quote
Paul Laufer
GoldBox Guru
Joined: 27 Oct 2008
Posts: 125




I can think of a couple of options. First, if the contact file verifier finds them, then there should be a temp file created in the Goldbox folder which stores the results of the contact file verifier. After running the CFV, look in the GoldBox folder sorted by date, and you should see a reasonably large DBF file that contains the CFV data. It could be used with a mirror update to delete the contsupp records you wish to delete.

Second is the LinkedName() function, which returns the full path to a linked document from the LINKEDDOC memo field. Something like...

.not. file(LinkedName())

You could try it in an export from contsupp first to test it.

_________________
Paul Laufer
Telesage Solutions
www.tsage.com
View user's profile Send private message Visit poster's website

PostPosted: Mon Jun 25, 2012 6:41 am Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




Thanks, Paul; I believe the name of that dBase file is CONVERFY.DBF

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Jun 25, 2012 9:22 am Points: 0 Reply with quote
TPorter2
Awesome Administrator
Joined: 30 Jun 2006
Posts: 334
Location: Addison, TX




OK, I see how to set up a mirror update that references that Contact File Verifier database. What I don't see is how to tell Goldbox to delete records in Goldmine that match that database. Appreciate your assistance!

P.S. I found this advice from Dave, does this still apply?


Pretend like you are going to import into DETAILS. Go past the next screen where it asks for Detail Type because it doesn't matter.

Then select the Quick-Delete checkbox when you get to the Setup screen.
View user's profile Send private message

PostPosted: Mon Jun 25, 2012 9:38 am Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




Yes, as long as you have that list of Recids, a quick delete will get the job done.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Jun 25, 2012 12:22 pm Points: 0 Reply with quote
TPorter2
Awesome Administrator
Joined: 30 Jun 2006
Posts: 334
Location: Addison, TX




BobTaylor wrote:
Yes, as long as you have that list of Recids, a quick delete will get the job done.

Thanks, Bob! I did this and it removed 11,000 linked docs from our database. Some records still have linked docs with broken links however. Any idea how to get to the ones that contact verifier didn't find?
View user's profile Send private message

PostPosted: Mon Jun 25, 2012 1:07 pm Points: 0 Reply with quote
BobTaylor
GoldBox Guru
Joined: 07 Sep 2007
Posts: 1216
Location: Jacksonville, FL




The only thing I can think of is Paul's second suggestion, an export using that function. If you get anything, you should do some good by feeding those Recids back to your first setup.

But that might be the same approach that Dave used, I don't know. I would have thought it's either a good link or it's not; maybe you have some where the coin was flipped and it landed on its edge Laughing

Anyway, let us know how that turns out, please.

_________________
Bob Taylor
Bob Taylor Consulting
(904)646-9861
www.goldboxbob.com
Consulting with GoldBox and GoldMine since 1997.
View user's profile Send private message Send e-mail Visit poster's website

Remove All Broken Links
  ContactReview Forum Index » GoldBox
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Brought to you by Castell Computers, Doug Castell, Admin
RSS Feed
Powered by phpBB © 2001-2004 phpBB Group
Theme created by Vjacheslav Trushkin