cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get Node IDs in Alfresco 5?

sscbrian
Champ on-the-rise
Champ on-the-rise
I'm setting up Inbound SMTP with our Alfresco 5.0a, but have run into an interesting problem.  I need the "Node ID" of the destination folder.  In Alfresco 4.2 I would simply go to that folder and use "View in Alfresco Explorer" to get that information.  However, "View in Alfresco Explorer" just throws errors in 5.0a, which appear to be due to Alfresco Explorer being deprecated (and removed).  How can I go about getting the Node ID via Alfresco Share?
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Can you use one of the admin consoles?

Or failing that add an email alias.

mrogers
Star Contributor
Star Contributor
actually you need the sys:node-dbid for inbound email.  

Another option: You should be able to change Alfresco Share's form definition to show the sys:node-dbid property.

sscbrian
Champ on-the-rise
Champ on-the-rise
Thanks much, very helpful!

I ended up modifying <tomcat>/shared/classes/alfresco/web-extension/share-config-custom.xml (inserting before the closing </alfresco-config> tag):


<config evaluator="node-type" condition="cm:folder">
      <forms>
          <form>
            <field-visibility>
                    <show id="sys:node-dbid" force="true" />
            </field-visibility>
          </form>
      </forms>
   </config>

mark
Champ in-the-making
Champ in-the-making
Can you just browse the Node Browser within the Alfresco Admin Console? I think that shows the sys:node-dbid.

sscbrian
Champ on-the-rise
Champ on-the-rise
I suppose it's technically possible.  The node browser does give sys:node-dbid.  However, actually finding a specific thing in node browser appears to require skills beyond what I have.  I can't find anything in there, it's a big heap of seemingly random numbers.  🙂  Also, the admin console is not available for end users that need to know the ID for e-mailing in items.