You are viewing limited content. For full access, please sign in.

Question

Question

Using RA, how to retrieve entry IDs of all items contained in the folder

SDK
asked on February 5, 2014

I am using RA, and need to obtain a list of entry IDs of all entries contained in a folder.  I have the parent folder's path.  Any idea how to accomplish this ?

 

0 0

Answer

APPROVED ANSWER
replied on February 5, 2014

In the SDK install location you can find a Samples folder with sample projects (C:\Program Files\Laserfiche\SDK 9.0\Samples\LfSDKNetSamples.zip).  Look at the sample FolderBrowser project to see how to do what you are wanting.

1 0

Replies

replied on February 7, 2014

To fix this problem, you have to add an "app.config" file you your project

Then open the file and paste in this:

<?xml version="1.0"?>
<configuration>
  <system.diagnostics>
    <sources>
      <!-- This section defines the logging configuration for My.Application.Log -->
      <source name="DefaultSource" switchName="DefaultSwitch">
        <listeners>
          <add name="FileLog"/>
          <!-- Uncomment the below section to write to the Application Event Log -->
          <!--<add name="EventLog"/>-->
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="DefaultSwitch" value="Information"/>
    </switches>
    <sharedListeners>
      <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
      <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
      <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
    </sharedListeners>
  </system.diagnostics>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>

 

1 0
replied on February 5, 2014

Will do, thanks!

0 0
replied on February 6, 2014

When I run the sample FolderBrowser app, I get the following error.  I have .NET 4 installed

 

0 0
replied on February 9, 2014

Thank you!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.