Hello,
has XWiki any possibilty to manipulate or create the metadata's in the
HTML-Header?
I want to add own metadata-pair's (name and value) to my documents.
Thanks
Matthias
In Xwiki when we use xwiki.authentication.ldap.mode_group_sync as always
then on each login by a single user, multiple entries are created in group.
So when we delete user entry from LDAP group its not affecting in XWIKI as
it has multiple entries in group.
So can anyone please help me to solve this issue. When we change option to
create this issue is not there but this option we don’t need as it will not
update LDAP group changes etc….
Thanks
Geo
Hello,
I'm moving toward Workspace enabled wiki, and trying to retrieve a global
user Document from a subwiki.
I'm using LDAP, but creating users only on global wiki.
My problem, is that from various APIs (workspace, wikimanager, xwiki...), I
was not able to find an easy to retrieve the name of the main wiki - which
in my case is not "xwiki".
I need it to provide it to my xwiki.getDocument(username) to retrieve
correct doc.
Or maybe there's an API to fallback the getDocument() on the global wiki,
if doc is not found in local subwiki ?
Sorry if it's obvious, I'm quite new to the virtual mode ;-)
Thanks,
Jeremie
Realizing this is a very basic question, I ask it anyway in the hopes of
a fairly plain language answer.
How do you edit the titles that you call using $msg.get(xxx)?
I am working on some code and it is using:
$msg.get('platform.core.profile.company'). I want to change company to
another term more familiar to my users, but need to change it both for
English and French versions. I want to use the $msg.get functionality,
as it makes switching languages simpler - but I cannot figure out where
this "dictionary" is actually stored for editing.
Paul Pinkerton
KnowledgeNow Project Lead
-----Original Message-----
Hi,
I'm running into some difficulties with permissions to run scripts for LDAP
users on a subwiki. I'm running XWiki 5.0.3 on Tomcat.
The subwiki has a script written with Python (and some Velocity). This
script page then gets included on many pages with the {{include}} macro.
There's another script (velocity and javascript) which uploads an
attachment to the pages with the include macro, so:
Page A - Code for the python script
Page B - Includes script from Page A
Page C - Uploads attachments to Page B
The wiki farm is configured to use LDAP authentication against an external
LDAP user database. This works fine - people can log in to the subwiki with
their external credentials, and XWiki will create a user object for them.
The problem is that when an LDAP user without programming rights uses Page
C to upload an attachment to Page B, the attachment uploads but the page
will then not display, giving the "You don't have the right to execute this
script" error. I presume this is because creating an attachment on the page
means that the page was last saved by a user with non-programming rights,
so the page no longer has the rights to execute the script.
If I manually create a non-LDAP user on the main wiki and give that user
programming rights, then log into the subwiki as that user, make a small
modification to Page B and resave, it will display correctly again.
However, I cannot seem to assign programming rights to an LDAP user - those
rights don't appear to be inherited by the subwiki. So if I have the LDAP
user log in to the main wiki, it will create a user object
(xwiki:XWiki.adminuser@testcom). I can grant that user programming rights
on the main wiki, but if I try and log in with those credentials on the
subwiki, it creates a new user (subwiki:XWiki:adminuser@testcom) - and
re-saving the page with that user doesn't fix the problem.
Is there any way to either:
a) Grant programming rights to an LDAP user, such that users who are
authorized to make changes don't break the script permissions
or
b) Make it so that a normal non-programming user can upload attachments to
a page without breaking included scripts?
Any help is appreciated,
aaron
I recently installed xwiki-enterprise-installer-windows-4.5.4 on a Windows 2008 R2 server, service pack 1. The application is currently not working after installing it to c:\xwiki enterprise 4.5.4 directory.
It appears as if Jetty should be the web service but it does not start either with the "start xwiki enterprise .bat file or with the start.jar java file in the Jetty folder. I have looked at the permissions and they look good. Any suggestions?
Also, there is a "Go to my wiki" shortcut that points to http://localhost:8080/xwiki/bin/view/main that appears to be looking for a folder native to Windows IIS, C:\inetpub\wwwroot\xwiki\bin\view\main. Does IIS need to be installed?
Any assistance would be greatly appreciated.
John Caffery
Information Technology Consultant
Louisiana Optical Network Initiative - LONI
O 225.578.7263
C 225.252.3046
www.loni.org<http://www.loni.org/>
Hi !
I have several Blog articles and I get their content with
obj.getProperty('content').getValue().
I have two questions :
1) Is it possible to get exactly the right format of the content ? For
example, if I have a bold or italic word , when I get the value I have
**bold word** and // italic word // .
I would like to have the word directly in bold or italic.
2) If it's not possible, is there a way to get the value of the
content without specials caracters like ** ** or // // ?
Thanks for help !
Regards, Pierrick
In LDAP Server for an user we have the entries for uid and mail. We had an
user on admin group and with “Ldap UID attribute name” as uid everything
is working fine including the login to workspaces with required admin
permission.
When we change “Ldap UID attribute name” to mail, user in admin group can
able to login to main wiki and have admin privilege but for workspaces he
can login but no admin privilege.
Can anyone please help us to fix this issue.
Thanks
Geo P.C.
Thanks
Geo P.C.
Hello!
I'm going to perform courses how non-IT people can create their own web
pages. As one of (if not the) tool I'd like to teach them XWiki.
Therefore it would be great if you would provide us new XWiki instance
on myxwiki.org for training purposes. Name could be: odo.myxwiki.org
Thanks in advance!
Valdis