Questions tagged [lookup-field]

11 questions
6
votes
3 answers

Add a lookup field to a content type in sharepoint

How can I add a lookup field to a content type in sharepoint using the xml definition? (I'm getting errors). Things to note: - The lookup list will exist when the content type is added to the document library. - The lookup list will always have the…
Zarek
  • 939
  • 3
  • 13
  • 21
5
votes
3 answers

Sharepoint lookup field and WebId="

I try to add lookup field in content type. Field has this definition:
Michal
  • 1,324
  • 2
  • 16
  • 38
3
votes
3 answers

Display SharePoint lookup field on publishing website

A page within our MOSS publishing website has a property which is a lookup field. I only want the selected text to be displayed when you view the page not in edit mode, but when I use the Microsoft.SharePoint.WebControls.LookupField it generates a…
Aaron Powell
  • 24,927
  • 18
  • 98
  • 150
3
votes
1 answer

`lookup_field` doesn't work on `ListAPIView`

I am creating a reddit clone. models.py class Subreddit(models.Model): owner = models.ForeignKey(Profile, on_delete=models.DO_NOTHING, null=True, blank=True, related_name='subreddits') class Post(models.Model): owner =…
Sreekar Mouli
  • 1,313
  • 5
  • 25
  • 49
1
vote
2 answers

getting Django current user on iOS app

I'm new to Django, I'm starting a Django app, I'm using the registration app and Django rest framework, this app will also serve as the backend for an iOS app, I already manage to create users from the iOS app and edit User Profiles from the…
Andrespch
  • 370
  • 3
  • 16
1
vote
1 answer

Secondary lookup columns for external content types not displaying data in list after refreshing from primary

I have created a SharePoint list that has a lookup column to an external list. I also have instructed SharePoint to display several secondary columns that are related to that primary external lookup column in my list as well. The problem is that…
Ami Schreiber
  • 287
  • 2
  • 6
  • 20
0
votes
2 answers

Edit a SharePoint lookup field link from the linked "child" record

I have two lists in SharePoint, one each for projects and tasks, that I need to relate through the use of a lookup field. If I create the lookup field in the project list then I can assign multiple tasks to the project and easily see what tasks are…
Kuyenda
  • 4,529
  • 11
  • 46
  • 64
0
votes
0 answers

Django filter F and functions of fields. Filter by comparison between fields with lookups

models from django.db import models from django.utils import timezone import datetime class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def…
0
votes
1 answer

How can I populate fields with information related to single lookup field?

I'm working on a form 'Enrollment Adoptions' in CRM 2015, specifically with three fields; Product, Component, and Editorial. 'Product' is a lookup field referencing the Product Entity. 'Component' and 'Editorial' are simple text fields to be filled…
0
votes
1 answer

how to change list column internal name

in sharepoint i have a list, i have a lookup field from another list, lets call my list as FirstList and the other list as SecondList. SecondList -ID -Title FirstList -ID -Title -SecondList -SecondList:ID when i look to…
brtb
  • 2,201
  • 6
  • 34
  • 53
0
votes
1 answer

Multi-Field Primary Key

For reasons I cannot understand, the people who supply my tables do not have any form of single field unique identification for the 20k+ entries in their tables. I have two fields, BuildingCode and RoomCode, which together make up a unique room. For…
StuckAtWork
  • 1,613
  • 7
  • 23
  • 37